forked-synapse/synapse/handlers
Erik Johnston 886e5acc76 Store rejected remote invite events as outliers
Currently they're stored as non-outliers even though the server isn't in
the room, which can be problematic in places where the code assumes it
has the state for all non outlier events.

In particular, there is an edge case where persisting the leave event
triggers a state resolution, which requires looking up the room version
from state. Since the server doesn't have the state, this causes an
exception to be thrown.
2019-01-23 20:04:57 +00:00
..
__init__.py Move RoomContextHandler out of Handlers 2018-07-18 15:33:03 +01:00
_base.py Use new getters 2018-07-23 13:17:22 +01:00
account_data.py copyrights 2016-01-07 04:26:29 +00:00
acme.py Support ACME for certificate provisioning (#4384) 2019-01-23 19:39:06 +11:00
admin.py run isort 2018-07-09 16:09:20 +10:00
appservice.py Remove unnecessary extra function call layer 2018-10-08 14:06:19 +01:00
auth.py Factor SSO success handling out of CAS login (#4264) 2018-12-07 13:10:07 +01:00
deactivate_account.py Give some more things logcontexts (#4077) 2018-10-23 14:29:17 +01:00
device.py don't store more remote device lists if they have more than 1K devices (#4397) 2019-01-16 23:14:11 +00:00
devicemessage.py run isort 2018-07-09 16:09:20 +10:00
directory.py Attempt to move room aliases on room upgrades 2018-10-31 15:43:57 +00:00
e2e_keys.py Replaced all occurences of e.message with str(e) 2018-09-27 13:38:50 +02:00
e2e_room_keys.py handle empty backups according to latest spec proposal (#4123) 2018-11-05 17:59:29 -05:00
events.py Check room visibility for /event/ requests 2018-08-02 15:03:27 +01:00
federation.py Store rejected remote invite events as outliers 2019-01-23 20:04:57 +00:00
groups_local.py Comments help 2018-10-23 10:25:31 -06:00
identity.py sign_request -> build_auth_headers (#4408) 2019-01-17 12:40:09 +00:00
initial_sync.py Refactor state group lookup to reduce DB hits (#4011) 2018-10-25 17:49:55 +01:00
message.py Log some bits about event creation (#4121) 2018-10-31 15:42:23 +00:00
pagination.py fix NPE in /messages by checking if all events were filtered out (#4330) 2019-01-02 23:37:39 +00:00
presence.py Integrate presence from hotfixes (#3694) 2018-08-18 01:08:45 +10:00
profile.py Fix exception handling in fetching remote profiles 2018-10-03 11:34:30 +01:00
read_marker.py Rename async to async_helpers because async is a keyword on Python 3.7 (#3678) 2018-08-10 23:50:21 +10:00
receipts.py Remove redundant run_as_background_process() from pusherpool 2018-10-22 16:12:11 +01:00
register.py create support user (#4141) 2018-12-14 18:20:59 +00:00
room_list.py Fix roomlist since tokens on Python 3 (#4046) 2018-10-17 23:04:55 +11:00
room_member_worker.py Use new helper base class for membership requests 2018-07-31 14:32:23 +01:00
room_member.py Use directory server for room joins (#3899) 2018-09-18 18:27:37 +01:00
room.py Migrate encryption state on room upgrade (#4411) 2019-01-21 20:42:58 +11:00
search.py Add an option to disable search for homeservers which may not be interested in it (#4230) 2018-12-04 12:01:02 +01:00
set_password.py run isort 2018-07-09 16:09:20 +10:00
sync.py Fixed line length 2018-12-19 14:12:33 -05:00
typing.py Fix typing being reset causing infinite syncs (#4127) 2018-11-03 00:19:23 +11:00
user_directory.py Add metric for user dir current event stream position 2019-01-23 15:34:47 +00:00