summary refs log tree commit diff
path: root/synapse/storage/state.py
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2018-03-11 20:10:25 +0000
committerMatthew Hodgson <matthew@matrix.org>2018-03-11 20:10:25 +0000
commit87133652657c5073616419b0afc533eac6ae6750 (patch)
tree379ab0b5d97d20e0ec0a70ead8132d2a13c408f2 /synapse/storage/state.py
parentWIP experiment in lazyloading room members (diff)
downloadsynapse-87133652657c5073616419b0afc533eac6ae6750.tar.xz
typos
Diffstat (limited to 'synapse/storage/state.py')
-rw-r--r--synapse/storage/state.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py
index da6bb685fa..0238200286 100644
--- a/synapse/storage/state.py
+++ b/synapse/storage/state.py
@@ -301,6 +301,8 @@ class StateGroupWorkerStore(SQLBaseStore):
                     args = [next_group]
                     if types:
                         args.extend(i for typ in types for i in typ)
+                        if include_other_types:
+                            args.extend(typ for (typ, _) in types)
 
                     txn.execute(
                         "SELECT type, state_key, event_id FROM state_groups_state"