mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 21:35:10 +00:00
[MOD] Add x-parsee tag with metadata, global nicks
Still need to grab it on the room-level from the room state if possible, otherwise just rollback to the MXID. I also need to consider profile pictures and bridging media, and check if the nick was present XMPP-side first, as that can and will cause issues, especially around semi-anonymous MUCs.
This commit is contained in:
parent
2b16ccbaf8
commit
b820a441ed
9 changed files with 102 additions and 6 deletions
|
|
@ -613,6 +613,11 @@ XMLDecodeString(char *s)
|
|||
cs[0] = '\'';
|
||||
s += 6;
|
||||
}
|
||||
else if (!strncmp(s, """, 6))
|
||||
{
|
||||
cs[0] = '"';
|
||||
s += 6;
|
||||
}
|
||||
else if (!strncmp(s, "<", 4))
|
||||
{
|
||||
cs[0] = '<';
|
||||
|
|
@ -632,6 +637,7 @@ XMLDecodeString(char *s)
|
|||
{
|
||||
s++;
|
||||
}
|
||||
/* TODO: Support hexcodes */
|
||||
|
||||
tmp = ret;
|
||||
ret = StrConcat(2, ret, cs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue