Add missing line

parent d30a5a02
......@@ -71,6 +71,7 @@ FutureOr<String> nameOf(BuildContext context, Room room) {
return name.isNotEmpty ? name : room.id.toString();
}
final futureOrMembers = room.members.get(upTo: 6);
if (futureOrMembers is Future<Iterable<User>>) {
return futureOrMembers.then(calculateName);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment