mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-12 04:52:26 +01:00
remove comment now #2969 is fixed
This commit is contained in:
parent
12350e3f9a
commit
f0f9a0605b
1 changed files with 0 additions and 6 deletions
|
@ -561,12 +561,6 @@ class StateGroupWorkerStore(SQLBaseStore):
|
||||||
with matching types. `types` is a list of `(type, state_key)`, where
|
with matching types. `types` is a list of `(type, state_key)`, where
|
||||||
a `state_key` of None matches all state_keys. If `types` is None then
|
a `state_key` of None matches all state_keys. If `types` is None then
|
||||||
all events are returned.
|
all events are returned.
|
||||||
|
|
||||||
XXX: is it really true that `state_key` of None in `types` matches all
|
|
||||||
state_keys? it looks like _get-some_state_from_cache does the right thing,
|
|
||||||
but _get_state_groups_from_groups_txn treats ths None is turned into
|
|
||||||
'AND state_key = NULL' or similar (at least until i just fixed it) --Matthew
|
|
||||||
I've filed this as https://github.com/matrix-org/synapse/issues/2969
|
|
||||||
"""
|
"""
|
||||||
if types:
|
if types:
|
||||||
types = frozenset(types)
|
types = frozenset(types)
|
||||||
|
|
Loading…
Reference in a new issue