Glitch when searching contact who sent a contact request
How to reproduce:
- User A sends a contact request to user B
- User B receives the contact request
- User B searches for user A and opens resulting conversation
- Glitch n°1 happens
- User B tries to add user A using the "Add to contacts" button in the chatview
- Glitch n°2 happens
Glitch n°1: The conversation is not the same as the contact request conversation. It is just an empty, new conversation (the contact request conversation already contains an "Invitation received" element).
Glitch n°2: User 1 is added to contacts but the chatview is not updated. The conversation is still empty and the "Add to contacts" button is still present.