element-hq / element-hq/synapse

Invites to local users from remote server do not get sent down sync of other local users in the room (sometimes).

Open
#8,605 0 comments 0 reactions 0 assignees View on GitHub
A-Invite A-Sync O-Uncommon S-Minor T-Defect
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#8605](https://github.com/matrix-org/synapse/issues/8605).

---

If `@alice:local` and `@bob:remote` are in a room and `@bob:remote` invites `@charlie:local`, then `@alice:local` may not see the invite come down sync.

This is because the remote server sends an invite over `/invite`, which the local server persists as an outlier and forwards to Charlie. Alice does a `/sync`, the invite does not get returned as it is an outlier. The remote server then sends the invite to the local server in a standard federation transaction, which then flips the outlier bit in the DB. When Alice does another `/sync` they still won't get the event as their since token will be after the invite event.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.