Open
Description
- Operating System (Linux/Mac/Windows/iOS/Android): Linux
- Core Version: v1.159.4
- Client Version: 1.58.2 (git: flathub)
Problem: Group invite link doesn't work if wrong device answers the securejoin message
Steps to reproduce the problem
- Alice has two devices, A1 and A2
- A1 creates a group (without promoting it by sending a message; note that group creation is not synced, i.e. A2 doesn't know about this group), creates a group invite link, and sends it to Bob
- A1 goes offline
- Bob clicks on the link, A2 answers
- A1 goes online again
--> Bob is neither verified nor added to the group.
There are multiple possible solutions to this:
- Sync group creation (similar to how broadcast creation is synced), so that the second device knows about the group. I think this is what we should implement.
- After A1 goes online again, let it answer Bob and finish the securejoin protocol. There may be some intricate details here (e.g.: how does A1 know that A2 encountered an error?), so, I wouldn't go for this solution.