3 ms·
Your XMPP example is incorrect, what you pasted is a notification that the user you were chatting with closed the conversation. A user going offline would be:
by MattJ100 11y ago
Your XMPP example is incorrect, what you pasted is a notification that the user you were chatting with closed the conversation.
A user going offline would be:
<presence from="juliet@capulet.com/balcony" type="unavailable"/>
And yes, XMPP is extensible, so you might see such notifications with more content (e.g. the user can set an offline message), but the beauty is that not every client need implement support for that, which is handy if you're writing a thin client like a bot, or doing machine-to-machine communication. But every XMPP client will interpret the core meaning exactly the same: the user has gone offline.