From f16480092b9c5187b5596285649b2c8a17c4fa95 Mon Sep 17 00:00:00 2001 From: Pierre HUBERT Date: Mon, 30 Mar 2020 22:44:08 +0200 Subject: [PATCH] Fix new API support --- lib/helpers/conversations_helper.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/helpers/conversations_helper.dart b/lib/helpers/conversations_helper.dart index 35b5f1e..7299e06 100644 --- a/lib/helpers/conversations_helper.dart +++ b/lib/helpers/conversations_helper.dart @@ -210,7 +210,7 @@ class ConversationsHelper { name: map["name"] == false ? null : map["name"], following: map["following"] == 1, sawLastMessage: map["saw_last_message"] == 1, - members: map["members"].map((f) => int.parse(f)).toList(), + members: List.from(map["members"]), ); }