summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-11-09 14:52:18 +0000
committerMark Haines <mark.haines@matrix.org>2015-11-09 14:53:08 +0000
commitc4135d85e116cecbc119c1243911a0b60a6452d7 (patch)
tree5bf08dd66a944cc42ce59bdc1cb55dc95c17b96d /synapse/handlers
parentMerge pull request #353 from matrix-org/daniel/oops (diff)
downloadsynapse-c4135d85e116cecbc119c1243911a0b60a6452d7.tar.xz
SYN-513: Include updates for rooms that have had all their tags deleted
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/sync.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 5294d96466..ff766e3af5 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -272,7 +272,7 @@ class SyncHandler(BaseHandler):
     def private_user_data_for_room(self, room_id, tags_by_room):
         private_user_data = []
         tags = tags_by_room.get(room_id)
-        if tags:
+        if tags is not None:
             private_user_data.append({
                 "type": "m.tag",
                 "content": {"tags": tags},