synapse-product/synapse/handlers
Richard van der Hoff 64765e5199 When we do an invite rejection, save the signed leave event to the db
During a rejection of an invite received over federation, we ask a remote
server to make us a `leave` event, then sign it, then send that with
`send_leave`.

We were saving the *unsigned* version of the event (which has a different event
id to the signed version) to our db (and sending it to the clients), whereas
other servers in the room will have seen the *signed* version. We're not aware
of any actual problems that caused, except that it makes the database confusing
to look at and generally leaves the room in a weird state.
2017-04-07 14:39:32 +01:00
..
__init__.py Shuffle receipt handler around so that worker apps don't need to load it 2016-11-23 15:14:24 +00:00
_base.py Insert delta of current_state_events to be more efficient 2017-01-20 17:10:18 +00:00
account_data.py copyrights 2016-01-07 04:26:29 +00:00
admin.py admin,storage: added more administrator functionalities 2017-02-02 14:02:26 +01:00
appservice.py storage/appservice: make appservice methods only relying on the cache synchronous 2016-10-06 15:24:59 +02:00
auth.py Support registration / login with phone number 2017-03-13 17:27:51 +00:00
device.py Don't recreate so many sets 2017-03-16 11:54:26 +00:00
devicemessage.py Use new federation_sender DI 2016-11-16 14:47:52 +00:00
directory.py Ignore backoff history for invites, aliases, and roomdirs 2017-03-23 12:23:22 +00:00
e2e_keys.py Merge pull request #2050 from matrix-org/rav/federation_backoff 2017-03-23 22:27:01 +00:00
events.py Use state handler instead of get_users_in_room/get_joined_hosts 2016-08-26 14:54:30 +01:00
federation.py When we do an invite rejection, save the signed leave event to the db 2017-04-07 14:39:32 +01:00
identity.py Support registration / login with phone number 2017-03-13 17:27:51 +00:00
initial_sync.py Format presence events on the edges instead of reformatting them multiple times 2017-03-15 14:27:34 +00:00
message.py Don't clobber a displayname or avatar_url if provided by an m.room.member event 2017-01-24 18:06:07 +00:00
presence.py Cache hosts in room 2017-03-24 11:46:24 +00:00
profile.py Ignore backoff history for invites, aliases, and roomdirs 2017-03-23 12:23:22 +00:00
receipts.py Don't recreate so many sets 2017-03-16 11:54:26 +00:00
register.py Fix email push in pusher worker 2017-02-02 10:53:36 +00:00
room_list.py Comments 2017-03-13 11:53:26 +00:00
room_member.py Allow forgetting rooms you're banned from 2017-02-15 19:32:20 +00:00
room.py Remove unused param 2017-02-20 15:02:01 +00:00
search.py move filter_events_for_client out of base handler 2016-05-11 13:42:37 +01:00
sync.py Comments 2017-03-16 13:04:07 +00:00
typing.py Use new federation_sender DI 2016-11-16 14:47:52 +00:00