diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/api.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/api.c b/src/plugins/api.c index d65a07ba..3488d84c 100644 --- a/src/plugins/api.c +++ b/src/plugins/api.c @@ -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 } |