| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2024-07-03 17:07:54 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2024-07-03 17:07:54 UTC |
| parent | b671bca6e26db3d7834f3eef2a99971c02a2c9bf |
| snikket/ChatMessage.hx | +1 | -1 |
diff --git a/snikket/ChatMessage.hx b/snikket/ChatMessage.hx index a59caf5..1b16b40 100644 --- a/snikket/ChatMessage.hx +++ b/snikket/ChatMessage.hx @@ -311,7 +311,7 @@ class ChatMessage { .tag("body").up().up(); } stanza.tag("fallback", { xmlns: "urn:xmpp:fallback:0", "for": "urn:xmpp:reply:0" }) - .tag("body", { start: "0", end: Std.string(codepoints.length + 1) }).up().up(); + .tag("body", { start: "0", end: Std.string(codepoints.length) }).up().up(); stanza.tag("reply", { xmlns: "urn:xmpp:reply:0", to: replyToM.from?.asString(), id: replyId }).up(); } }