mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 21:44:52 -04:00
Add some type hints to datastore (#12717)
This commit is contained in:
parent
942c30b16b
commit
6edefef602
10 changed files with 254 additions and 161 deletions
|
@ -148,9 +148,9 @@ class PushRuleRestServlet(RestServlet):
|
|||
# we build up the full structure and then decide which bits of it
|
||||
# to send which means doing unnecessary work sometimes but is
|
||||
# is probably not going to make a whole lot of difference
|
||||
rules = await self.store.get_push_rules_for_user(user_id)
|
||||
rules_raw = await self.store.get_push_rules_for_user(user_id)
|
||||
|
||||
rules = format_push_rules_for_user(requester.user, rules)
|
||||
rules = format_push_rules_for_user(requester.user, rules_raw)
|
||||
|
||||
path_parts = path.split("/")[1:]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue