contact with pending event and multiple ressource, disconnecting is buggy
2 ressources, low send bla and disconnect. Open event, it opens /resource (normal) but we see /ressource online and double message (one restored).
Also, disconnecting with pending events when we previously had 2 ressources for this contact may hide contact.
Also, I see once that after opening messages of a contact that previously had 2 resources, and disconnected completly, offline contact stay in roster.