1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 08:15:16 +00:00

Can request call offer

This commit is contained in:
2020-04-20 15:50:01 +02:00
parent 73c7fa8807
commit 80f05cb008
3 changed files with 22 additions and 3 deletions

View File

@ -14,4 +14,8 @@ class CallMembersList extends AbstractList<CallMember> {
/// Get the connection of a specific user
CallMember getUser(int userID) => this.firstWhere((f) => f.userID == userID);
/// Extract ready peers from this list
CallMembersList get readyPeers =>
CallMembersList()..addAll(where((f) => f.status == MemberStatus.READY));
}