Update lib/src/Store.dart
This commit is contained in:
parent
19c6c3a37d
commit
60cf1ac7fe
|
@ -417,7 +417,7 @@ class Store {
|
||||||
[client.userID]);
|
[client.userID]);
|
||||||
List<User> userList = [];
|
List<User> userList = [];
|
||||||
for (int i = 0; i < res.length; i++)
|
for (int i = 0; i < res.length; i++)
|
||||||
userList.add(User.fromJson(res[i], client));
|
userList.add(User.fromJson(res[i], Room(id: "", client: client)));
|
||||||
return userList;
|
return userList;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue