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"]),