mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Fix compile
This commit is contained in:
parent
764fe8a1f3
commit
f3c638c66c
@ -99,12 +99,12 @@ void
|
|||||||
cl_ev_presence_send(const resource_presence_t presence_type, const int idle_secs)
|
cl_ev_presence_send(const resource_presence_t presence_type, const int idle_secs)
|
||||||
{
|
{
|
||||||
char *signed_status = NULL;
|
char *signed_status = NULL;
|
||||||
char *msg = connection_get_presence_msg();
|
|
||||||
|
|
||||||
#ifdef HAVE_LIBGPGME
|
#ifdef HAVE_LIBGPGME
|
||||||
char *account_name = session_get_account_name();
|
char *account_name = session_get_account_name();
|
||||||
ProfAccount *account = accounts_get_account(account_name);
|
ProfAccount *account = accounts_get_account(account_name);
|
||||||
if (account->pgp_keyid) {
|
if (account->pgp_keyid) {
|
||||||
|
char *msg = connection_get_presence_msg();
|
||||||
signed_status = p_gpg_sign(msg, account->pgp_keyid);
|
signed_status = p_gpg_sign(msg, account->pgp_keyid);
|
||||||
}
|
}
|
||||||
account_free(account);
|
account_free(account);
|
||||||
|
Loading…
Reference in New Issue
Block a user