-
lovetox
How to deal with roster item exchange message received via MAM
-
lovetox
received via MAM would mean another client already processed them -> so i should drop it?
-
Zash
How do you know that another client has seen it?
-
lovetox
because offline messages are delivered before mam
-
eta
lovetox, oh hello, that's my issue ^_^
-
eta
maybe I should just be sending the roster item exchange requests as headline anyway
-
eta
or tag with no-store
-
lovetox
hm roster item exchange messages are type = normal
-
lovetox
so why are they in your MAM archive
-
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.
-
eta
good question
-
lovetox
i dont see a <body> in a roster item exchange
-
eta
yeah I don't send one
-
eta
maybe this is a prosody weirdness
-
eta
(cc Zash)
-
Zash
But is it ((type == 'normal') or (type == 'chat' and has body)) or ((type == 'normal' or type == 'chat') and has body) ?
-
Zash
Actually, wasn't it (type == 'chat' or (type == 'normal' and has body))