jdev - 2020-04-06


  1. lovetox

    hm, 0203 (delay) says there should be only one delay element which is added by the server

  2. lovetox

    session management xep says, client should add a delay element

  3. Zash

    We should probably generalise that to one per 'by' attribute

  4. flow

    that ↑

  5. Zash

    It is a pattern now, <something by=jid who dun it>

  6. flow

    patterns! \o/

  7. Zash

    stanza errors, delay, stanza ids...

  8. flow

    can we rename 'delay' to 'timestamp' while we are at it?

  9. Zash

    You want an origin-timestamp? XEP it!

  10. flow

    no, I want to rename <delay/> to <timestamp/> (or similar)

  11. lovetox

    there is no by attribute in dealy by the way

  12. lovetox

    its "from" there

  13. Zash

    not?

  14. Zash

    oh

  15. Zash

    meh

  16. flow

    yeah, it's called 'from'

  17. lovetox

    does it make sense for a client on resending stanzs setting the from attr to the full jid?

  18. lovetox

    this may be another resource as the resource sending the messages

  19. lovetox

    i just dont know how this can be useful for another client

  20. flow

    do it when you find a use case for it, otherwise do not bother?

  21. lovetox

    yeah just wondered if someone has an opinion on that

  22. lovetox

    i tend to use the bare jid

  23. Zash

    from=full jid would be semantically correct

  24. Zash

    might leak your full jid into MUCs and stuff tho, which you might not want

  25. flow

    Zash, what if the message is composed and "send" while being offline?

  26. Zash

    does @from default to the origin?

  27. lovetox

    Zash i have code to not add that in groupchats

  28. lovetox

    hm i should probably also not add it in PMs

  29. lovetox

    if i read Andrews email

  30. lovetox

    i pity smartphone developers

  31. Zash

    iOS developers Apple developers Desktop developers Server developers Potato farmers

  32. Zash

    or something

  33. Zash

    Fun things from Server developer land: User puts HTTP URL as their hostname. No code objects to this.