From 3ecec5ede2dfaf82f9587b4740d51288d43e7be1 Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Thu, 21 Mar 2019 10:21:15 +0000 Subject: [PATCH] Fix upsert --- synapse/storage/room.py | 1 + 1 file changed, 1 insertion(+) 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, },