summary refs log tree commit diff
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-03-12 00:50:28 +1100
committerAmber Brown <hawkowl@atleastfornow.net>2019-03-12 00:50:28 +1100
commit78a6b950b3258c3d3e11a0b4341d40ddc99748e2 (patch)
tree9378caf6114722272d4104d1b02c04d7f0d96742
parentpep8 (diff)
downloadsynapse-78a6b950b3258c3d3e11a0b4341d40ddc99748e2.tar.xz
fix
-rw-r--r--synapse/storage/user_directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/user_directory.py b/synapse/storage/user_directory.py
index 5d402189e8..745e6f26ec 100644
--- a/synapse/storage/user_directory.py
+++ b/synapse/storage/user_directory.py
@@ -393,7 +393,7 @@ class UserDirectoryStore(BackgroundUpdateStore):
                         txn,
                         "users_in_public_rooms",
                         keyvalues={"user_id": user_id},
-                        values=None,
+                        values={},
                     )
 
             for user_id, other_user_id in user_id_tuples: