mirror of
https://forge.fsky.io/lda/Parsee.git
synced 2026-03-13 15:15:10 +00:00
[MOD/FIX] Be even more strict with Unicode filtering
Now, only ASCII characters get to fit.
This commit is contained in:
parent
7b8ed08e88
commit
e3749817d3
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ JoinMUC(ParseeData *data, HashMap *event, char *jid, char *muc, char *name, char
|
||||||
char *sender = GrabString(event, 1, "sender");
|
char *sender = GrabString(event, 1, "sender");
|
||||||
|
|
||||||
Unistr *uninick = UnistrCreate(name);
|
Unistr *uninick = UnistrCreate(name);
|
||||||
Unistr *filtered = UnistrFilter(uninick, UnistrIsBMP);
|
Unistr *filtered = UnistrFilter(uninick, UnistrIsASCII); /* I'm not even going to try messing with the BMP anymore. */
|
||||||
char *nick = UnistrC(filtered);
|
char *nick = UnistrC(filtered);
|
||||||
char *rev = StrConcat(3, muc, "/", nick);
|
char *rev = StrConcat(3, muc, "/", nick);
|
||||||
int nonce = 0;
|
int nonce = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue