Remove old_min_order variable.
This commit is contained in:
parent
be45c178bb
commit
410e35231f
@ -2030,11 +2030,10 @@ void GroupCallManager::process_group_call_participants(
|
||||
auto participants_it = group_call_participants_.find(input_group_call_id);
|
||||
if (participants_it != group_call_participants_.end()) {
|
||||
CHECK(participants_it->second != nullptr);
|
||||
auto old_min_order = participants_it->second->min_order;
|
||||
if (old_min_order > min_order) {
|
||||
participants_it->second->min_order = min_order;
|
||||
LOG(INFO) << "Increase min_order from " << old_min_order << " to " << min_order << " in "
|
||||
if (participants_it->second->min_order > min_order) {
|
||||
LOG(INFO) << "Increase min_order from " << participants_it->second->min_order << " to " << min_order << " in "
|
||||
<< input_group_call_id;
|
||||
participants_it->second->min_order = min_order;
|
||||
|
||||
for (auto &participant : participants_it->second->participants) {
|
||||
auto new_order = get_real_participant_order(can_self_unmute, participant, participants_it->second.get());
|
||||
|
Loading…
Reference in New Issue
Block a user