summaryrefslogtreecommitdiff
path: root/examples/weechat.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/weechat.c')
-rw-r--r--examples/weechat.c5
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) {