mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
Fix conditional compile
This commit is contained in:
parent
fccf56be10
commit
68496db0b4
@ -509,13 +509,17 @@ api_encryption_reset(const char *const barejid)
|
||||
return;
|
||||
}
|
||||
|
||||
#ifdef HAVE_LIBGPGME
|
||||
if (chatwin->pgp_send) {
|
||||
chatwin->pgp_send = FALSE;
|
||||
win_println((ProfWin*)chatwin, THEME_DEFAULT, '!', "PGP encryption disabled.");
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LIBOTR
|
||||
if (chatwin->is_otr) {
|
||||
chatwin_otr_unsecured(chatwin);
|
||||
otr_end_session(chatwin->barejid);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user