jdev - 2023-08-16


  1. Link Mauve

    idna is only a thing for servers right? Client (toolkits) don’t have to validate it do they? nameprep is enough?

  2. lovetox

    Gajim uses it for validation

  3. lovetox

    im not sure if this is really realistic to say clients dont need to validate JIDs

  4. lovetox

    what comes to mind at first is that i dont think servers validate all attributes or elements where a JID could be placed

  5. lovetox

    and even if, what they surley dont validate is jids inside the body

  6. lovetox

    second what comes to mind is, that JIDs can come from other sources than the server

  7. lovetox

    its generally useful for a GUI client to be able to present the user with an indication if something is a valid JID.

  8. lovetox

    for what we also use idna lib is the encoding/decoding from idns like xn--dmin-moa0i.example

  9. lovetox

    again a user GUI thing

  10. pep.

    And preparing for 174 isn't too bad either, if only "servers" needed to validate :)

  11. pep.

    Link Mauve, ^

  12. edhelas

    When a message is edited, is it wise to reset the "read" status ?

  13. singpolyma

    IMO as a user it's mostly annoying when my client does that

  14. singpolyma

    But I can see the argument for it

  15. Link Mauve

    lovetox, punycode isn’t used at all on XMPP.

  16. moparisthebest

    Link Mauve: never say never https://git.singpolyma.net/cheogram-android/commit/ecd6e59cea1dda86406482c4774c821225474c4e

  17. Link Mauve

    moparisthebest, that remark was about the domain part in JIDs.

  18. Link Mauve

    And ewwwwww.

  19. moparisthebest

    Lol