synapse/synapse
Andrew Morgan 4f76eef0e8
Generalise _locally_reject_invite (#8751)
`_locally_reject_invite` generates an out-of-band membership event which can be passed to clients, but not other homeservers.

This is used when we fail to reject an invite over federation. If this happens, we instead just generate a leave event locally and send it down /sync, allowing clients to reject invites even if we can't reach the remote homeserver.

A similar flow needs to be put in place for rescinding knocks. If we're unable to contact any remote server from the room we've tried to knock on, we'd still like to generate and store the leave event locally. Hence the need to reuse, and thus generalise, this method.

Separated from #6739.
2020-11-16 15:37:36 +00:00
..
_scripts
api Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00
app Fix SIGHUP handler (#8697) 2020-11-06 11:42:07 +00:00
appservice Tie together matches_user_in_member_list and get_users_in_room caches (#8676) 2020-10-30 15:23:16 +00:00
config Clarify the usecase for an msisdn delegate (#8734) 2020-11-14 23:09:36 +00:00
crypto
events Block clients from sending server ACLs that lock the local server out. (#8708) 2020-11-03 12:13:48 +00:00
federation Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00
groups
handlers Generalise _locally_reject_invite (#8751) 2020-11-16 15:37:36 +00:00
http Better error message when a remote resource uses invalid Content-Type (#8719) 2020-11-11 14:22:40 +00:00
logging Gracefully handle a pending logging connection during shutdown. (#8685) 2020-10-29 12:53:57 -04:00
metrics Add metrics for tracking 3PID /requestToken requests. (#8712) 2020-11-13 12:03:51 +00:00
module_api
push Add base pushrule to notify for jitsi conferences (#8286) 2020-11-02 16:36:14 +00:00
replication Generalise _maybe_store_room_on_invite (#8754) 2020-11-13 16:24:04 +00:00
res/templates
rest Add metrics for tracking 3PID /requestToken requests. (#8712) 2020-11-13 12:03:51 +00:00
server_notices Check support room has only two users before sending a notice (#8728) 2020-11-11 14:23:16 +00:00
spam_checker_api
state
static
storage Generalise _maybe_store_room_on_invite (#8754) 2020-11-13 16:24:04 +00:00
streams
util Merge pull request #8678 from matrix-org/rav/fix_frozen_events 2020-10-30 15:24:10 +00:00
__init__.py 1.23.0rc1 2020-11-13 13:59:58 +00:00
event_auth.py
notifier.py Don't pull event from DB when handling replication traffic. (#8669) 2020-10-28 12:11:45 +00:00
python_dependencies.py
secrets.py
server.py
types.py Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00
visibility.py