mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 22:14:55 -04:00
Oops, get_rooms_for_user returns a namedtuple, not a room_id
This commit is contained in:
parent
a551c5dad7
commit
88f1ea36ce
2 changed files with 7 additions and 1 deletions
|
@ -296,6 +296,7 @@ class Notifier(object):
|
|||
appservice = yield self.store.get_app_service_by_user_id(user)
|
||||
current_token = yield self.event_sources.get_current_token()
|
||||
rooms = yield self.store.get_rooms_for_user(user)
|
||||
rooms = [room.room_id for room in rooms]
|
||||
user_stream = _NotifierUserStream(
|
||||
user=user,
|
||||
rooms=rooms,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue