MatrixSynapse/synapse/handlers
Andrew Morgan e8d0853739
Generalise _maybe_store_room_on_invite (#8754)
There's a handy function called maybe_store_room_on_invite which allows us to create an entry in the rooms table for a room and its version for which we aren't joined to yet, but we can reference when ingesting events about.

This is currently used for invites where we receive some stripped state about the room and pass it down via /sync to the client, without us being in the room yet.

There is a similar requirement for knocking, where we will eventually do the same thing, and need an entry in the rooms table as well. Thus, reusing this function works, however its name needs to be generalised a bit.

Separated out from #6739.
2020-11-13 16:24:04 +00:00
..
ui_auth
__init__.py
_base.py
account_data.py
account_validity.py Add type hints for account validity handler (#8620) 2020-10-26 14:17:31 -04:00
acme.py
acme_issuing_service.py
admin.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
appservice.py Add type hints to application services. (#8655) 2020-10-28 11:12:21 -04:00
auth.py Catch exceptions in password_providers (#8636) 2020-11-11 13:24:53 +00:00
cas_handler.py
deactivate_account.py
device.py
devicemessage.py
directory.py
e2e_keys.py e2e: ensure we have both master and self-signing key (#8455) 2020-10-26 18:37:47 +00:00
e2e_room_keys.py
events.py
federation.py Generalise _maybe_store_room_on_invite (#8754) 2020-11-13 16:24:04 +00:00
groups_local.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
identity.py
initial_sync.py
message.py Block clients from sending server ACLs that lock the local server out. (#8708) 2020-11-03 12:13:48 +00:00
oidc_handler.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
pagination.py
password_policy.py
presence.py Fix cache call signature to accept `on_invalidate`. (#8684) 2020-10-29 15:18:17 +00:00
profile.py Improve error messages of non-str displayname/avatar_url (#8705) 2020-11-02 18:01:09 +00:00
read_marker.py
receipts.py
register.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
room.py Optimise createRoom with multiple invites (#8559) 2020-10-29 11:48:39 +00:00
room_list.py
room_member.py Optimise createRoom with multiple invites (#8559) 2020-10-29 11:48:39 +00:00
room_member_worker.py
saml_handler.py
search.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
set_password.py
state_deltas.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
stats.py
sync.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00
typing.py Don't unnecessarily start bg process while handling typing. (#8668) 2020-10-27 15:32:19 +00:00
user_directory.py Fix typos and spelling errors. (#8639) 2020-10-23 12:38:40 -04:00