diff options
author | Mark Haines <mark.haines@matrix.org> | 2015-11-09 14:52:18 +0000 |
---|---|---|
committer | Mark Haines <mark.haines@matrix.org> | 2015-11-09 14:53:08 +0000 |
commit | c4135d85e116cecbc119c1243911a0b60a6452d7 (patch) | |
tree | 5bf08dd66a944cc42ce59bdc1cb55dc95c17b96d /synapse/storage | |
parent | Merge pull request #353 from matrix-org/daniel/oops (diff) | |
download | synapse-c4135d85e116cecbc119c1243911a0b60a6452d7.tar.xz |
SYN-513: Include updates for rooms that have had all their tags deleted
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/tags.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/tags.py b/synapse/storage/tags.py index 641ea250f0..bf695b7800 100644 --- a/synapse/storage/tags.py +++ b/synapse/storage/tags.py @@ -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) |