diff options
author | Erik Johnston <erik@matrix.org> | 2015-03-19 15:59:48 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-03-19 15:59:48 +0000 |
commit | d7a0496f3ec534076121632352f44733253e1e16 (patch) | |
tree | bc981c1de8f70c9b79b26c97a3cedc11567e5255 /synapse/storage/roommember.py | |
parent | Remove redundant key (diff) | |
download | synapse-d7a0496f3ec534076121632352f44733253e1e16.tar.xz |
Convert storage layer to be mysql compatible
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/roommember.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/roommember.py b/synapse/storage/roommember.py index 65ffb4627f..e8ede14cd7 100644 --- a/synapse/storage/roommember.py +++ b/synapse/storage/roommember.py @@ -68,7 +68,7 @@ class RoomMemberStore(SQLBaseStore): # Update room hosts table if event.membership == Membership.JOIN: sql = ( - "INSERT OR IGNORE INTO room_hosts (room_id, host) " + "REPLACE INTO room_hosts (room_id, host) " "VALUES (?, ?)" ) txn.execute(sql, (event.room_id, domain)) |