Merge branch 'mini_fixes2' into 'master'
[Store] correct return type See merge request famedly/famedlysdk!35
This commit is contained in:
commit
069f26b039
|
@ -633,8 +633,8 @@ class Store {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
Future<List<Map<String, String>>> getNotificationByRoom(String room_id) async {
|
Future<List<Map<String, dynamic>>> getNotificationByRoom(String room_id) async {
|
||||||
List<Map<String, String>> res = await db.rawQuery(
|
List<Map<String, dynamic>> res = await db.rawQuery(
|
||||||
"SELECT * FROM NotificationsCache WHERE chat_id=?", [room_id]);
|
"SELECT * FROM NotificationsCache WHERE chat_id=?", [room_id]);
|
||||||
if (res.length == 0) return null;
|
if (res.length == 0) return null;
|
||||||
return res;
|
return res;
|
||||||
|
|
Loading…
Reference in a new issue