1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Fix conditional compile

This commit is contained in:
James Booth 2017-01-18 23:19:51 +00:00
parent d7268b0fbc
commit 91baaba770

View File

@ -509,13 +509,17 @@ api_encryption_reset(const char *const barejid)
return;
}
#ifdef HAVE_LIBGPGME
if (chatwin->pgp_send) {
chatwin->pgp_send = FALSE;
ui_current_print_formatted_line('!', 0, "PGP encryption disabled.");
}
#endif
#ifdef HAVE_LIBOTR
if (chatwin->is_otr) {
chatwin_otr_unsecured(chatwin);
otr_end_session(chatwin->barejid);
}
#endif
}