summary refs log tree commit diff
path: root/synapse/storage
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-03-21 10:21:15 +0000
committerErik Johnston <erik@matrix.org>2019-03-21 10:21:15 +0000
commit3ecec5ede2dfaf82f9587b4740d51288d43e7be1 (patch)
tree12c8e73f6ad5d9e21f094b5c4444fe7a5367205e /synapse/storage
parentRevert spurious delete (diff)
downloadsynapse-3ecec5ede2dfaf82f9587b4740d51288d43e7be1.tar.xz
Fix upsert
Diffstat (limited to 'synapse/storage')
-rw-r--r--synapse/storage/room.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/room.py b/synapse/storage/room.py
index abc9786a99..a979d4860a 100644
--- a/synapse/storage/room.py
+++ b/synapse/storage/room.py
@@ -514,6 +514,7 @@ class RoomStore(RoomWorkerStore, SearchStore):
             keyvalues={
                 "room_id": room_id,
             },
+            values={},
             insertion_values={
                 "user_id": user_id,
             },