diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-04-07 14:39:32 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-04-07 14:39:32 +0100 |
commit | 64765e51996382c633a7bcf0f8fd26b3ec20e15d (patch) | |
tree | fd47194ef59edabc6e921890407fc543b471327e /synapse/events/utils.py | |
parent | Bump version and changelog (diff) | |
download | synapse-64765e51996382c633a7bcf0f8fd26b3ec20e15d.tar.xz |
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.
Diffstat (limited to 'synapse/events/utils.py')
0 files changed, 0 insertions, 0 deletions