Hi, I am confused about the proper handling of „one-to-one chat sessions“.
Specifically the following documents partially contradict each other: http://xmpp.org/extensions/xep-0201.html#chat http://xmpp.org/extensions/xep-0085.html#bizrules-threads XEP-0201 says, a client SHOULD NOT destroy a thread, when e.g. closing the chat window. It also SHOULD NOT destroy the thread when receiving unavailable presence. XEP-0085 says, a client SHOULD generate a <gone/> event, when e.g. closing the chat window and that it MUST NOT re-use the thread id upon receiving of <gone/>. (I assume the same is true for the sender, too, i.e. it MUST NOT re-use the thread after sending <gone/>?!) Is a chat session considered destroyed after receiving/sending <gone/> or not (in terms of reusing the <thread> for further messages)? I feel like 0085 is too strict here. A contact should be able to reply to the same thread used before, even if the sender sent <gone/>. What’s your opinion on this topic? Thanks; Christian
