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;
|
||||
}
|
||||
|
||||
Future<List<Map<String, String>>> getNotificationByRoom(String room_id) async {
|
||||
List<Map<String, String>> res = await db.rawQuery(
|
||||
Future<List<Map<String, dynamic>>> getNotificationByRoom(String room_id) async {
|
||||
List<Map<String, dynamic>> res = await db.rawQuery(
|
||||
"SELECT * FROM NotificationsCache WHERE chat_id=?", [room_id]);
|
||||
if (res.length == 0) return null;
|
||||
return res;
|
||||
|
|
Loading…
Reference in a new issue