synapse/synapse
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
..
api use jsonschema.FormatChecker for RoomID and UserID strings 2017-03-23 11:42:41 -03:00
app synctl.py: wait for synapse to stop before restarting (#2020) 2017-03-29 19:20:13 +01:00
appservice Rename network_id to instance_id on client side 2016-12-12 16:05:45 +00:00
config Add helpful texts to logger config options 2017-03-13 12:33:35 +00:00
crypto Merge pull request #2050 from matrix-org/rav/federation_backoff 2017-03-23 22:27:01 +00:00
events Refactoring and cleanups 2017-03-17 15:06:07 +00:00
federation Accept join events from all servers 2017-04-03 15:58:07 +01:00
handlers When we do an invite rejection, save the signed leave event to the db 2017-04-07 14:39:32 +01:00
http try not to drop context after federation requests 2017-03-23 22:36:21 +00:00
metrics Rename the python-specific metrics now the docs claim that we have done 2016-11-03 17:03:52 +00:00
push Cache glob to regex at a higher level for push 2017-03-29 15:53:14 +01:00
replication Use presence replication stream to invalidate cache 2017-03-24 13:21:08 +00:00
rest Merge pull request #2057 from matrix-org/rav/missing_yield_2 2017-03-24 12:46:43 +00:00
static/client Updates to fallback CAS login to do new token login 2015-11-06 09:57:17 +00:00
storage Use txn.fetchall() so we can reuse txn 2017-03-30 10:30:05 +01:00
streams Add basic implementation of local device list changes 2017-01-25 14:27:27 +00:00
util Fix the logcontext handling in the cache wrappers (#2077) 2017-03-30 13:22:24 +01:00
__init__.py Bump version and changelog 2017-04-07 10:03:48 +01:00
event_auth.py Use better variable name 2017-01-17 14:32:53 +00:00
notifier.py Don't recreate so many sets 2017-03-16 11:54:26 +00:00
python_dependencies.py Add jsonschema to python_dependencies.py 2017-03-23 11:42:47 -03:00
server.py Fix email push in pusher worker 2017-02-02 10:53:36 +00:00
server.pyi Fix login with m.login.token 2016-08-08 16:40:39 +01:00
state.py Merge pull request #1849 from matrix-org/erikj/state_typo 2017-03-29 11:53:42 +01:00
types.py Add basic implementation of local device list changes 2017-01-25 14:27:27 +00:00
visibility.py Fix rejection of invites not reaching sync 2017-03-23 18:50:31 +00:00