Skip to content

Synchronize unpromoted chats #7001

Open
@Hocuri

Description

@Hocuri
  • 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

  1. Alice has two devices, A1 and A2
  2. 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
  3. A1 goes offline
  4. Bob clicks on the link, A2 answers
  5. A1 goes online again

--> Bob is neither verified nor added to the group.

There are multiple possible solutions to this:

  1. 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.
  2. 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.

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions