jdev - 2024-03-23


  1. lovetox

    hm ... could it be that biboumi when splitting messages in irc, returns mutliple messages with different text with the same stanza id?

  2. jonas’

    i seem to recall something like that.

  3. lovetox

    🤦️

  4. jonas’

    that is to allow you to re-assemble the message on your end IIRC.

  5. jonas’

    but I'd have to check the code.

  6. lovetox

    i guess the unique in "Unique and Stable Stanza IDs" is up for interpretation

  7. lovetox

    or we need to reinterpret what a stanza is

  8. Zash

    I guess it will suck regardless of how you do it, given that some clients always show the message they sent and some clients show what the MUC reflects back.

  9. lovetox

    i understand the problem they tried to solve, but im not happy with the solution

  10. MattJ

    It would be better to just have an additional payload describing the fragmentation, I think

  11. MattJ

    Them clients can implement that if they want to

  12. MattJ

    Then clients can implement that if they want to

  13. lovetox

    i think there is no solution where the client does not have specific logic for this IRC protocol stuff

  14. lovetox

    my solution would have been, announce in disco info the max allowed message size

  15. Zash

    hard, advertised limit and reject message with error is one option

  16. Zash

    no reflection towards the XMPP side is another

  17. Zash

    and additional protocol as MattJ suggests

  18. Zash

    and additional protocol as MattJ suggests as a 3rd option

  19. lovetox

    yeah im not sure why biboumi cant merge the messages, if it previously is able to split them

  20. Zash

    to show to _you_ (the sender) what actualy got sent to IRC, that has some value right?

  21. lovetox

    yeah but show it in one message

  22. Zash

    but it wasn't

  23. Zash

    that would be a lie

  24. lovetox

    is this in irc clients the same?

  25. lovetox

    do they show only messages with the message size limit?

  26. Zash

    IRC doesn't have reflection

  27. Zash

    it does advertise limits tho

  28. Zash

    IIRC if you exceed a limit, message just gets cut off in the middle with no indication to you what happened

  29. Zash

    and being a line based protocol, you just can't send multi-line messages at all

  30. lovetox

    as a client im not interested, in how some gateway translates xmpp to some other protocol

  31. lovetox

    i send something, and i want a indication that whatever i sent, was received

  32. lovetox

    like a MUC would do with the refelection

  33. lovetox

    like a MUC would do with the reflection

  34. lovetox

    i see no added value, if the gateway tells me, btw i split your message into 5, because the protocol has some size limit

  35. lovetox

    but anyway, i guess we life now in this world

  36. lovetox

    this will need some super special biboumi code ..

  37. lovetox

    probably rewriting the stanza id on conflict to something else is the easiest way

  38. lovetox

    as IRC does not support anyway any protocol that ever would reference the stanza-id, it should not matter

  39. lovetox

    or i simply dont store stanza-id for irc chats at all

  40. singpolyma

    > this will need some super special biboumi code .. Better to fix biboumi imho