-
Link Mauve
idna is only a thing for servers right? Client (toolkits) don’t have to validate it do they? nameprep is enough?
-
lovetox
Gajim uses it for validation
-
lovetox
im not sure if this is really realistic to say clients dont need to validate JIDs
-
lovetox
what comes to mind at first is that i dont think servers validate all attributes or elements where a JID could be placed
-
lovetox
and even if, what they surley dont validate is jids inside the body
-
lovetox
second what comes to mind is, that JIDs can come from other sources than the server
-
lovetox
its generally useful for a GUI client to be able to present the user with an indication if something is a valid JID.
-
lovetox
for what we also use idna lib is the encoding/decoding from idns like xn--dmin-moa0i.example
-
lovetox
again a user GUI thing
-
pep.
And preparing for 174 isn't too bad either, if only "servers" needed to validate :)
-
pep.
Link Mauve, ^
-
edhelas
When a message is edited, is it wise to reset the "read" status ?
-
singpolyma
IMO as a user it's mostly annoying when my client does that
-
singpolyma
But I can see the argument for it
-
Link Mauve
lovetox, punycode isn’t used at all on XMPP.
-
moparisthebest
Link Mauve: never say never https://git.singpolyma.net/cheogram-android/commit/ecd6e59cea1dda86406482c4774c821225474c4e
-
Link Mauve
moparisthebest, that remark was about the domain part in JIDs.
-
Link Mauve
And ewwwwww.
-
moparisthebest
Lol