[Store] Fix query

This commit is contained in:
Christian Pauly 2019-08-28 12:04:05 +02:00
parent 453bdd0106
commit e5d4c6be73
1 changed files with 1 additions and 1 deletions

View File

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