Merge branch 'mini_fixes2' into 'master'

[Store] correct return type

See merge request famedly/famedlysdk!35
This commit is contained in:
Christian 2019-07-18 17:22:21 +00:00
commit 069f26b039

View file

@ -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;