[Store] Fix query
This commit is contained in:
parent
eb2e30d730
commit
f90a996db6
|
|
@ -212,7 +212,7 @@ class Store {
|
||||||
json.encode(userUpdate.content["content"]),
|
json.encode(userUpdate.content["content"]),
|
||||||
]);
|
]);
|
||||||
else if (userUpdate.type == "presence")
|
else if (userUpdate.type == "presence")
|
||||||
txn.rawInsert("INSERT OR REPLACE INTO Presences VALUES(?, ?)", [
|
txn.rawInsert("INSERT OR REPLACE INTO Presences VALUES(?, ?, ?)", [
|
||||||
userUpdate.eventType,
|
userUpdate.eventType,
|
||||||
userUpdate.content["sender"],
|
userUpdate.content["sender"],
|
||||||
json.encode(userUpdate.content["content"]),
|
json.encode(userUpdate.content["content"]),
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue