mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 16:16:04 -04:00
Don't recreate so many sets
This commit is contained in:
parent
2ccf3b241c
commit
6957bfdca6
10 changed files with 42 additions and 51 deletions
|
@ -399,8 +399,7 @@ class SynchrotronServer(HomeServer):
|
|||
position = row[position_index]
|
||||
user_id = row[user_index]
|
||||
|
||||
rooms = yield store.get_rooms_for_user(user_id)
|
||||
room_ids = [r.room_id for r in rooms]
|
||||
room_ids = yield store.get_rooms_for_user(user_id)
|
||||
|
||||
notifier.on_new_event(
|
||||
"device_list_key", position, rooms=room_ids,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue