mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 10:26:06 -04:00
Change fix
This commit is contained in:
parent
4efa389299
commit
cca0093fa9
2 changed files with 8 additions and 5 deletions
|
@ -66,7 +66,10 @@ class PushRuleStore(SQLBaseStore):
|
|||
if not user_ids:
|
||||
defer.returnValue({})
|
||||
|
||||
results = {}
|
||||
results = {
|
||||
user_id: []
|
||||
for user_id in user_ids
|
||||
}
|
||||
|
||||
rows = yield self._simple_select_many_batch(
|
||||
table="push_rules",
|
||||
|
@ -90,7 +93,10 @@ class PushRuleStore(SQLBaseStore):
|
|||
if not user_ids:
|
||||
defer.returnValue({})
|
||||
|
||||
results = {}
|
||||
results = {
|
||||
user_id: []
|
||||
for user_id in user_ids
|
||||
}
|
||||
|
||||
rows = yield self._simple_select_many_batch(
|
||||
table="push_rules_enable",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue