after stream conflict, presence offline not communicated when server closes connection
The problem is described in forum topic:
#1 Updated by Andrzej Wójcik about 4 years ago
- Status changed from New to Feedback
I tried to replicate issue but I always received presence unavailable packet when my connection was broken (even after resource conflict as mentioned). I looked into code to see in what situation I may not receive presence unavailable when connection is broken - I found that it may happen only if particular connection never sent initial presence (except from cases when exception might be thrown during processing - but no exception appeared in log).
After that I checked attached logs once again looking for initial presence being sent from client (and processed by @sess-man@) between resource conflict (binding on second connection) and time when client connection was broken but I could not found initial presence in this period of time, so Tigase XMPP Server could not sent presence as it never received initial presence on second connection.