3 ms·
Addendum: As Zash pointed out[1], this is documented behavior for offline messages, i.e. messages send while the user was offline. Those are only send if the us
by Flowdalic 11y ago
Addendum: As Zash pointed out[1], this is documented behavior for offline messages, i.e. messages send while the user was offline. Those are only send if the user announced availability via a presence or if XEP-13: Flexible Offline Message Retrieval is used. This is to prevent storms of offline messages when the client (re-)connects.
But it's certainly not true that you "won't receive any message despite ... successful connection".
1: https://news.ycombinator.com/item?id=10043962 https://news.ycombinator.com/item?id=10043962
- vog 11y agoIndeed, my description was rough and from memories a few year ago. But I believe it still demonstrates the point I was trying to illustrate: There is unneccessary complex behaviour in XMPP that you must write extra code in your client for. Otherwise it will work mostly, but not always and not reliably.
- Zash 11y agoPretty sure you want your XMPP client to announce that it is online, so you'd have to implement that anyways.