mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:36:02 -04:00
Change room handlers get_rooms_for_user to get_joined_rooms_for_user. This uses the a storage api that is cached.
This commit is contained in:
parent
1df3ccf7ee
commit
8e28db5cc9
5 changed files with 12 additions and 11 deletions
|
@ -197,9 +197,8 @@ class ProfileHandler(BaseHandler):
|
|||
|
||||
self.ratelimit(user.to_string())
|
||||
|
||||
joins = yield self.store.get_rooms_for_user_where_membership_is(
|
||||
joins = yield self.store.get_rooms_for_user(
|
||||
user.to_string(),
|
||||
[Membership.JOIN],
|
||||
)
|
||||
|
||||
for j in joins:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue