jdev - 2020-09-08


  1. lovetox

    How to deal with roster item exchange message received via MAM

  2. lovetox

    received via MAM would mean another client already processed them -> so i should drop it?

  3. Zash

    How do you know that another client has seen it?

  4. lovetox

    because offline messages are delivered before mam

  5. eta

    lovetox, oh hello, that's my issue ^_^

  6. eta

    maybe I should just be sending the roster item exchange requests as headline anyway

  7. eta

    or tag with no-store

  8. lovetox

    hm roster item exchange messages are type = normal

  9. lovetox

    so why are they in your MAM archive

  10. lovetox

    a server SHOULD include in a user archive all of the messages a user sends or receives of type 'normal' or 'chat' that contain a <body> element.

  11. eta

    good question

  12. lovetox

    i dont see a <body> in a roster item exchange

  13. eta

    yeah I don't send one

  14. eta

    maybe this is a prosody weirdness

  15. eta

    (cc Zash)

  16. Zash

    But is it ((type == 'normal') or (type == 'chat' and has body)) or ((type == 'normal' or type == 'chat') and has body) ?

  17. Zash

    Actually, wasn't it (type == 'chat' or (type == 'normal' and has body))