Is there a way to handle presence using roster events for multiple resources? I.E. I have a buddy in my roster, he opens two different clients, I’m getting USER_PRESENCE_UPDATED and it works fine. But in case buddy closes one of the resources I’m getting USER_PRESENCE_UPDATED with OFFLINE status for my buddy. (That’s becase now XIFF roster operates only using bareJIDs).
Or I should not rely on roster events and handle presence only via Presence stanzas?
Hope this makes sence