From 584bd92f7dabb207dead49a135840936b675e693 Mon Sep 17 00:00:00 2001 From: Marcel Date: Thu, 18 Jul 2019 19:18:01 +0200 Subject: [PATCH] [Store] correct return type --- lib/src/Store.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/Store.dart b/lib/src/Store.dart index 47731d0..89902fe 100644 --- a/lib/src/Store.dart +++ b/lib/src/Store.dart @@ -632,8 +632,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;