Skip to content

Commit

Permalink
feat: add invited to members count
Browse files Browse the repository at this point in the history
This is related to #241
  • Loading branch information
Julian KOUNE committed Jul 13, 2023
1 parent 0510be1 commit 5281eea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/utils/room_status_extension.dart
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ extension RoomStatusExtension on Room {
}
return L10n.of(context)!.onlineLongTimeAgo;
}
return L10n.of(context)!
.countParticipants(summary.mJoinedMemberCount.toString());

return L10n.of(context)!.countParticipants(
((summary.mInvitedMemberCount ?? 0) + (summary.mJoinedMemberCount ?? 0)).toString());
}

String getLocalizedTypingText(BuildContext context) {
Expand Down

0 comments on commit 5281eea

Please sign in to comment.