diff options
author | Erik Johnston <erik@matrix.org> | 2019-03-21 10:21:15 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-03-21 10:21:15 +0000 |
commit | 3ecec5ede2dfaf82f9587b4740d51288d43e7be1 (patch) | |
tree | 12c8e73f6ad5d9e21f094b5c4444fe7a5367205e /synapse | |
parent | Revert spurious delete (diff) | |
download | synapse-3ecec5ede2dfaf82f9587b4740d51288d43e7be1.tar.xz |
Fix upsert
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/storage/room.py | 1 |
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, }, |