diff options
author | Erik Johnston <erik@matrix.org> | 2014-11-26 10:41:08 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-11-26 10:41:08 +0000 |
commit | 3598c11c8dcb5fb0df16276298760e0de31d0a84 (patch) | |
tree | b15cc7b7b292083ca3a49d178167f7b0ed3fb825 /synapse/storage/state.py | |
parent | upgrade script depends on sqlite3 cli (diff) | |
download | synapse-3598c11c8dcb5fb0df16276298760e0de31d0a84.tar.xz |
Correctly handle the case where we get an event for an unknown room, which turns out we are actually in
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 55ea567793..e0f44b3e59 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py @@ -87,7 +87,7 @@ class StateStore(SQLBaseStore): ) def _store_state_groups_txn(self, txn, event): - if not event.state_events: + if event.state_events is None: return state_group = event.state_group |