[Store] Fix query

This commit is contained in:
Christian Pauly 2019-08-28 12:26:42 +02:00
parent eb2e30d730
commit f90a996db6

View file

@ -212,7 +212,7 @@ class Store {
json.encode(userUpdate.content["content"]),
]);
else if (userUpdate.type == "presence")
txn.rawInsert("INSERT OR REPLACE INTO Presences VALUES(?, ?)", [
txn.rawInsert("INSERT OR REPLACE INTO Presences VALUES(?, ?, ?)", [
userUpdate.eventType,
userUpdate.content["sender"],
json.encode(userUpdate.content["content"]),