mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-21 03:42:55 +03:00
PR feedbackz
This commit is contained in:
parent
1b1c137771
commit
52f7e23c72
1 changed files with 2 additions and 3 deletions
|
@ -240,10 +240,9 @@ class StateGroupWorkerStore(SQLBaseStore):
|
|||
(
|
||||
"AND type = ? AND state_key = ?",
|
||||
(etype, state_key)
|
||||
) if state_key is not None else
|
||||
(
|
||||
) if state_key is not None else (
|
||||
"AND type = ?",
|
||||
(etype)
|
||||
(etype,)
|
||||
)
|
||||
for etype, state_key in types
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue