mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-30 11:56:22 +00:00
Fix conditional compile
This commit is contained in:
@@ -509,13 +509,17 @@ api_encryption_reset(const char *const barejid)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBGPGME
|
||||||
if (chatwin->pgp_send) {
|
if (chatwin->pgp_send) {
|
||||||
chatwin->pgp_send = FALSE;
|
chatwin->pgp_send = FALSE;
|
||||||
win_println((ProfWin*)chatwin, THEME_DEFAULT, '!', "PGP encryption disabled.");
|
win_println((ProfWin*)chatwin, THEME_DEFAULT, '!', "PGP encryption disabled.");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBOTR
|
||||||
if (chatwin->is_otr) {
|
if (chatwin->is_otr) {
|
||||||
chatwin_otr_unsecured(chatwin);
|
chatwin_otr_unsecured(chatwin);
|
||||||
otr_end_session(chatwin->barejid);
|
otr_end_session(chatwin->barejid);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user