Send encrypted messages

This commit is contained in:
James Booth
2015-03-24 23:34:24 +00:00
parent 551f7df1f7
commit eb5cb7b2f8
5 changed files with 109 additions and 19 deletions

View File

@@ -232,7 +232,7 @@ presence_update(const resource_presence_t presence_type, const char * const msg,
char *account_name = jabber_get_account_name();
ProfAccount *account = accounts_get_account(account_name);
if (account->pgp_keyid) {
char *signed_status = p_gpg_sign_str(msg, account->pgp_keyid);
char *signed_status = p_gpg_sign(msg, account->pgp_keyid);
if (signed_status) {
xmpp_stanza_t *x = xmpp_stanza_new(ctx);