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?
Just posting if anyone looking for same answer: Currently Roster class is not supporting multiple resources for one item (at least I did not found it) so workaround may be to use Presence stanzas and manually track connected resources.