jdev - 2025-03-16


  1. lovetox

    https://xmpp.org/extensions/xep-0452.html

  2. lovetox

    did someone implement this already? Was there some discussion around it, are there concerns?

  3. lovetox

    i mean rather https://xmpp.org/extensions/xep-0372.html the mentioning part of it

  4. lovetox

    this seems to be again forever in experimental

  5. pulkomandy

    Renga and converse.js implement 0372 mentions

  6. pulkomandy

    There's a hroblem with the spec that says you should mention a user bare jid, in a muc that doesn't make sense

  7. pulkomandy

    (At least in a muc where users are not allowed to see each other' jid)

  8. Zash

    In GC3, wouldn't mentions best be by occupant-id? (I haven't followed GC3 discussions closely enough to remember if that's covered (yet))

  9. lovetox

    thanks great, so basically this does not support yet occupant-id

  10. lovetox

    which is kind of a deal breaker for me

  11. lovetox

    but since everything is somekind of uri

  12. lovetox

    lets just agree on some sensible uri for this or?

  13. pulkomandy

    Yes, there was some discussion about this a few years ago in one of the sprints but I think nothing finalized came out of it

  14. lovetox

    btw, whats GC3?

  15. lovetox

    group chat 3?

  16. theTedd

    Yes

  17. theTedd

    There's an in-progress doc somewhere

  18. lovetox

    i propose xmpp:groupchat@gc.server.com?;occupant-id=xmca8asd9ads

  19. lovetox

    seems redundant to mention the groupchat again, but nothing else comes to mind

  20. lovetox

    ahh we could simply use full jid for good measure

  21. lovetox

    xmpp:groupchat@gc.server.com/nickname?;occupant-id=xmca8asd9ads

  22. theTedd

    0452 is for mentions in MUCs where you're not currently present, so including the MUC name is relevant

  23. lovetox

    yeah, there is just some security considerations

  24. lovetox

    actually its bit tricky. I well can mention someone who is currently not joined

  25. lovetox

    so the nick is unknown

  26. theTedd

    If the nick is unknown, how are you (as a user) mentioning them?

  27. lovetox

    although i dont need to add it, as the user will know his prefered nick anyway himself, when he gets the message forwarded

  28. lovetox

    theTedd, i know only the last nick

  29. lovetox

    i mean i can send any nick i want, no client should trust it

  30. lovetox

    so why send it at all?

  31. singpolyma

    > lets just agree on some sensible uri for this or? Under GC3 the full jid will contain the occupant id

  32. theTedd

    "You were mentioned in "jdev" as 'lovetox'."

  33. lovetox

    you mean for the notification?

  34. lovetox

    but this is irelevant info, if the MUC informs me when im not joined, its enough it tells me im mentioned, and by who

  35. lovetox

    not what the user thought my nick would be

  36. theTedd

    It could be, but most times probably not

  37. lovetox

    i mean i get the whole message forwarded anyway

  38. lovetox

    so in the text my name will be in it

  39. lovetox

    and reference tells me where in the message

  40. theTedd

    Ok

  41. lovetox

    singpolyma, not sure how that helps me implement mentions

  42. singpolyma

    Well it means the uri is just xmpp:fulljid I guess

  43. lovetox

    ok but there is no gc3 implemented, and im not keen on delaying that feature

  44. lovetox

    so im back at xmpp:groupchat@gc.server.com?;occupant-id=xmca8asd9ads because i think nickname should be irrelevant

  45. singpolyma

    Isn't there also a full rewrite of the references xep underway? That's why I aborted implementing this last time

  46. lovetox

    its in the message anyway

  47. lovetox

    would it do something conceptually different?

  48. lovetox

    i guess we still have the nickname in the message, and reference it with start/end

  49. lovetox

    not sure how this could work any different

  50. singpolyma

    Sure, at a fundamental level if it's not inline I agree it will be some sort of count like that

  51. lovetox

    yeah then this would not really stop me, because adding a bit of parsing different xml is trivial at a later point

  52. singpolyma

    So I guess it's just to register a Uri query key for occupant id. Or agree to use gc3 style URIs now independent of any server implementation

  53. lovetox

    what does a gc3 look like? just occupant id as resource?

  54. lovetox

    hmm yeah why not

  55. lovetox

    it would be a bit weird if GC3 never happens though :D

  56. singpolyma

    > what does a gc3 look like? just occupant id as resource? Yes

  57. lovetox

    i tend to lean to the query key for now, supporting other jids would be trivial at a later point

  58. singpolyma

    I have a slight preference the other way, but if you're going to do this probably I'll do whatever you do 🙂

  59. theTedd

    You'll need both until GC3 is the default anyway

  60. singpolyma

    Not necessarily 🙂

  61. theTedd

    Question from another room for Tigase devs: which of Stork, Beagle, and Siskin are still in active development?

  62. Link Mauve

    lovetox, are you aware of https://github.com/xsf/xeps/pull/1281 and https://bouah.net/specs/mentions.html on which we had worked on in the previous Lyon sprint?