[MOD/FIX] Licensewerk, start counting by codepoint

XEP-0426 came out of the blue, and it *hit* me!
This commit is contained in:
LDA 2024-09-21 18:26:35 +02:00
commit c2ea3807ec
7 changed files with 100 additions and 8 deletions

View file

@ -185,7 +185,7 @@ ExportStanza(StanzaBuilder *builder)
builder->replying_to_sender &&
builder->body)
{
int off = ParseeFindDatastart(builder->body);
int off = ParseeFindDatastartU(builder->body);
char *ostr = StrInt(off);
XMLElement *reply = XMLCreateTag("reply");
XMLElement *fallback = XMLCreateTag("fallback");