From f90a996db66248ff5aa1e93481abf36675a7326f Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Wed, 28 Aug 2019 12:26:42 +0200 Subject: [PATCH] [Store] Fix query --- lib/src/Store.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/Store.dart b/lib/src/Store.dart index abc7b2f6..baa8b427 100644 --- a/lib/src/Store.dart +++ b/lib/src/Store.dart @@ -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"]),