mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 11:16:07 -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
|
@ -71,7 +71,7 @@ class EventStreamHandler(BaseHandler):
|
|||
self._streams_per_user[auth_user] += 1
|
||||
|
||||
rm_handler = self.hs.get_handlers().room_member_handler
|
||||
room_ids = yield rm_handler.get_rooms_for_user(auth_user)
|
||||
room_ids = yield rm_handler.get_joined_rooms_for_user(auth_user)
|
||||
|
||||
if timeout:
|
||||
# If they've set a timeout set a minimum limit.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue