summary refs log tree commit diff
path: root/synapse/server_notices/server_notices_manager.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-08-24 14:44:16 +0100
committerErik Johnston <erik@matrix.org>2018-08-24 14:44:16 +0100
commit14d49c51dbbf1222477e076eb4d8d79c0181f901 (patch)
treea5516dfd3ffe4ec5db6d699a3e113486710d6733 /synapse/server_notices/server_notices_manager.py
parentMerge pull request #3754 from matrix-org/erikj/fix_whitelist (diff)
downloadsynapse-14d49c51dbbf1222477e076eb4d8d79c0181f901.tar.xz
Make content of tag an empty object rather than null
Diffstat (limited to 'synapse/server_notices/server_notices_manager.py')
-rw-r--r--synapse/server_notices/server_notices_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/server_notices/server_notices_manager.py b/synapse/server_notices/server_notices_manager.py
index 5968104a99..a5e4728859 100644
--- a/synapse/server_notices/server_notices_manager.py
+++ b/synapse/server_notices/server_notices_manager.py
@@ -154,7 +154,7 @@ class ServerNoticesManager(object):
         )
         room_id = info['room_id']
         yield self._store.add_tag_to_room(
-            user_id, room_id, SERVER_NOTICE_ROOM_TAG, None
+            user_id, room_id, SERVER_NOTICE_ROOM_TAG, {},
         )
 
         logger.info("Created server notices room %s for %s", room_id, user_id)