diff options
author | defanor <defanor@uberspace.net> | 2020-11-20 12:43:14 +0300 |
---|---|---|
committer | defanor <defanor@uberspace.net> | 2020-11-20 12:43:14 +0300 |
commit | 74b672b8ca65079ba5d46bbb1203ede95a29aea3 (patch) | |
tree | 7ccc3301357138bc10be5e7e2d9b89db2fe64470 /examples | |
parent | 53e218af8591f209644c63032f264fcbd154b827 (diff) |
Don't include own JID into <signcrypt/>, always encrypt for self
Diffstat (limited to 'examples')
-rw-r--r-- | examples/weechat.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/weechat.c b/examples/weechat.c index b2cee3a..2e9b57e 100644 --- a/examples/weechat.c +++ b/examples/weechat.c @@ -471,9 +471,8 @@ command_sc_cb (const void *wr_ptr, void *data, xmlNodeAddContent(body, argv_eol[1]); char *rcpt[3]; - rcpt[0] = s->initial_jid.bare; - rcpt[1] = to; - rcpt[2] = NULL; + rcpt[0] = to; + rcpt[1] = NULL; char *b64 = rexmpp_openpgp_encrypt_sign(s, body, rcpt); if (b64 == NULL) { |