mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-19 12:24:32 -04:00
SYN-513: Include updates for rooms that have had all their tags deleted
This commit is contained in:
parent
5335bf9c34
commit
c4135d85e1
2 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ class TagsStore(SQLBaseStore):
|
|||
if room_ids:
|
||||
tags_by_room = yield self.get_tags_for_user(user_id)
|
||||
for room_id in room_ids:
|
||||
results[room_id] = tags_by_room[room_id]
|
||||
results[room_id] = tags_by_room.get(room_id, {})
|
||||
|
||||
defer.returnValue(results)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue