mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Merge branch 'master' into osx-functional
This commit is contained in:
commit
4862392e5c
@ -104,6 +104,7 @@ sv_ev_roster_received(void)
|
|||||||
|
|
||||||
char *account_name = jabber_get_account_name();
|
char *account_name = jabber_get_account_name();
|
||||||
|
|
||||||
|
#ifdef HAVE_LIBGPGME
|
||||||
// check pgp key valid if specified
|
// check pgp key valid if specified
|
||||||
ProfAccount *account = accounts_get_account(account_name);
|
ProfAccount *account = accounts_get_account(account_name);
|
||||||
if (account && account->pgp_keyid) {
|
if (account && account->pgp_keyid) {
|
||||||
@ -113,6 +114,7 @@ sv_ev_roster_received(void)
|
|||||||
}
|
}
|
||||||
free(err_str);
|
free(err_str);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// send initial presence
|
// send initial presence
|
||||||
resource_presence_t conn_presence = accounts_get_login_presence(account_name);
|
resource_presence_t conn_presence = accounts_get_login_presence(account_name);
|
||||||
|
Loading…
Reference in New Issue
Block a user