mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:46:06 -04:00
Correctly handle the case where we get an event for an unknown room, which turns out we are actually in
This commit is contained in:
parent
d45325b6d7
commit
3598c11c8d
5 changed files with 99 additions and 47 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue