very sure, leaving a chat causes a presence unavailable stanza to be sent (even if you get kicked or stuff)
xmpp errors actually mean something went wrong