1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

Don't compile pgp code with --disable-pgp

This commit is contained in:
Dmitry Podgorny 2015-12-21 12:53:41 +02:00
parent d9f5a2bda6
commit bea246d81b

View File

@ -104,6 +104,7 @@ sv_ev_roster_received(void)
char *account_name = jabber_get_account_name();
#ifdef HAVE_LIBGPGME
// check pgp key valid if specified
ProfAccount *account = accounts_get_account(account_name);
if (account && account->pgp_keyid) {
@ -113,6 +114,7 @@ sv_ev_roster_received(void)
}
free(err_str);
}
#endif
// send initial presence
resource_presence_t conn_presence = accounts_get_login_presence(account_name);