fix heroes calculation regression
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
7526ba9d6f
commit
82168b972a
1 changed files with 1 additions and 1 deletions
|
@ -1235,7 +1235,7 @@ async fn calculate_counts(
|
|||
let (joined_member_count, invited_member_count) =
|
||||
join(joined_member_count, invited_member_count).await;
|
||||
|
||||
let small_room = joined_member_count.saturating_add(invited_member_count) > 5;
|
||||
let small_room = joined_member_count.saturating_add(invited_member_count) <= 5;
|
||||
|
||||
let heroes: OptionFuture<_> = small_room
|
||||
.then(|| calculate_heroes(services, room_id, sender_user))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue