mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:05:10 +00:00
[ADD] Push pupmet events too.
This commit is contained in:
parent
1126497d5b
commit
82bed09b03
4 changed files with 25 additions and 5 deletions
|
|
@ -93,7 +93,7 @@ ParseeMessageHandler(ParseeData *data, HashMap *event)
|
|||
char *user = GrabString(json, 1, "xmpp_user");
|
||||
char *local = ParseeEncodeMXID(sender);
|
||||
|
||||
XMPPSendPlain(jabber, local, user, body, NULL, NULL, NULL);
|
||||
XMPPSendPlain(jabber, local, user, body, NULL, NULL, NULL, ev_id);
|
||||
|
||||
Free(local);
|
||||
Free(reply_id);
|
||||
|
|
@ -124,7 +124,7 @@ ParseeMessageHandler(ParseeData *data, HashMap *event)
|
|||
XMPPSendPlain(
|
||||
jabber, jid, muc_id,
|
||||
xepd ? xepd : body, "groupchat",
|
||||
stanza, sender
|
||||
stanza, sender, ev_id
|
||||
);
|
||||
Free(rev);
|
||||
Free(name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue