Issues if you (re-)add a contact
using newest beta versions of Jami
Android Tablet (Android 8.1 Oreo) and Smartphone: Mate 20 Pro (EMUI 12)
I always used my same user account (both devices; so you send contact requests or make calls always using "sameuseraccount1" - "sameuseraccount1")
Steps to reproduce: Open Jami (both devices)
Tablet: Go to conversations, search a user (your own user account "sameuseraccount1") and add your own username in your contact list
Now the first time:
- Smartphone: You'll receive a contact request and accept - However, Jami will just show "Downloading conversation from peer" - nothing else will happen even if you wait many minutes
- Now JUST exit Jami on your tablet (the smartphone keeps running)
- Now enter Jami again (just the Android tablet)
- After a few minutes your smartphone will show "sameuseraccount1" was invited (although you used the Android tablet to send an invitation); The Android tablet will never get an invitation
Second issue:
After you've added your own contact (both devices), removed your own contact in the contact list exit Jami (both devices; even multiple times) and start Jami again
Start both devices
Tablet: search contact ("sameuseraccount1") and add your own username in contact list
This time however:
Smartphone: It will take very long but after a few minutes suddenly your own username is visible in the contact list (of the smartphone) WITHOUT an invitation (of Jami on the Android smartphone)
- Make a call Tablet -) Smartphone
- The first call will fail.
- After a few seconds make a second call Tablet -) Smartphone
- Smartphone: You receive a contact request (although "sameuseraccount1" is already in the contact list. The contact request will show your own profile picture (despite you still have this issue #1049 (closed))
- Now just the Tablet user exits Jami
- Now the tablet user opens Jami again
- Now the smartphone doesn’t show the contact request anymore
Third issue:
If found out that sometimes if you just exit the Android tablet (and don't wait long enough?) you still see the invitation on your phone's screen.
This issue happens if the user of the tablet sends a text to the smartphone user who previously removed the tablet user; however also "sameuseraccount1" but now (re-)added the tablet user again.
If you exit BOTH (the Android smartphone AND the Android tablet) and the enter Jami again (both devices) the smartphone user gets the same contact ("sameuseraccount1") twice in the contact list (both devices!!).
The profile picture suddeny is shown but as soon as you tap the contact to view the message the profile picture is lost.
The new same contact (1) will show the conversation history and the other old same contact (1) will just show: "user1 was invited".
- If you just exit Jami on the Android tablet as soon as you open Jami again you will have twice the same contact.
- After that - if you now just exit Jami on your smartphone after a few minutes you'll get the same account twice
If I delete the old or the new same contact both (same) contacts will be removed.