diff --git a/lib/src/Store.dart b/lib/src/Store.dart index 0803844..abc7b2f 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 Presence VALUES(?, ?)", [ + txn.rawInsert("INSERT OR REPLACE INTO Presences VALUES(?, ?)", [ userUpdate.eventType, userUpdate.content["sender"], json.encode(userUpdate.content["content"]),