diff --git a/lib/src/Store.dart b/lib/src/Store.dart index 30ff0a1..4f3ece2 100644 --- a/lib/src/Store.dart +++ b/lib/src/Store.dart @@ -633,8 +633,8 @@ class Store { return; } - Future>> getNotificationByRoom(String room_id) async { - List> res = await db.rawQuery( + Future>> getNotificationByRoom(String room_id) async { + List> res = await db.rawQuery( "SELECT * FROM NotificationsCache WHERE chat_id=?", [room_id]); if (res.length == 0) return null; return res;