diff options
author | James Booth <boothj5@gmail.com> | 2017-01-18 23:16:23 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2017-01-18 23:16:23 +0000 |
commit | 68496db0b427a18c09c00fb47264c3aea352393e (patch) | |
tree | 4ec79b3398573fe8b311f9d971103ead5f68a4b4 /src/plugins | |
parent | fccf56be1059a2c254b9ed08fc385ee4e0513dee (diff) | |
download | profani-tty-68496db0b427a18c09c00fb47264c3aea352393e.tar.gz |
Fix conditional compile
Diffstat (limited to 'src/plugins')
-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 } |