diff options
author | Mark Haines <mark.haines@matrix.org> | 2016-07-25 18:44:30 +0100 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2016-07-25 18:44:30 +0100 |
commit | 1b3c3e6d68bf503bf09e046ecf57bb652669e637 (patch) | |
tree | 88b424ef40fa981e8d80d0f99347da0abc381f64 /synapse/storage/state.py | |
parent | Don't add the events to forward extremities if the event is rejected (diff) | |
download | synapse-1b3c3e6d68bf503bf09e046ecf57bb652669e637.tar.xz |
Only update the events and event_json tables for rejected events
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/state.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py index cc1c7ec6a7..5b743db67a 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py @@ -79,7 +79,7 @@ class StateStore(SQLBaseStore): state_events = dict(context.current_state) - if event.is_state() and not context.rejected: + if event.is_state(): state_events[(event.type, event.state_key)] = event state_group = context.new_state_group_id |