Skip to content

Commit

Permalink
Include extra payloads when sending
Browse files Browse the repository at this point in the history
  • Loading branch information
singpolyma committed Oct 16, 2024
1 parent f0867e7 commit 38e7f35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions snikket/ChatMessage.hx
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,9 @@ class ChatMessage {
}
}
if (body != null) stanza.textTag("body", body);
for (payload in payloads) {
stanza.addDirectChild(Element(payload));
}
return stanza;
}

Expand Down

0 comments on commit 38e7f35

Please sign in to comment.