Open
Description
Description
[in fairness I have not validated if this is a server-side or client-side problem]
Background: When a user rejects an invite, we generate a "leave" event to update their membership state. For an invite received from a remote server, we normally ask the remote server to generate the leave event for us. However, there is a fallback case for when the remote server is unreachable: we will generate an "outlier" event locally, which is then only sent to the invited user.
It appears that such locally-generated leave events are not passed down SSS.
In other words: this is a regression of matrix-org/synapse#2181, but applies only to SSS.
Steps to reproduce
- Receive an invite from a user on a remote server
- The remote server goes offline
- On (say) Element-Web, reject the invite
- On EX, observe that you still have a pending invite
Homeserver
sw1v.org
Synapse Version
v1.115.0
Installation Method
pip (from PyPI)
Database
postgres. no. yes. yes.
Workers
Single process
Platform
Configuration
Relevant log output
-