Don't send speaking typings more often than once in 4 seconds.

This commit is contained in:
levlam 2021-02-12 15:50:52 +03:00
parent 18bbb47ecd
commit ba91f7f6ce

View File

@ -1821,8 +1821,6 @@ void GroupCallManager::set_group_call_participant_is_speaking(GroupCallId group_
group_call->is_speaking = is_speaking;
if (is_speaking) {
pending_send_speaking_action_timeout_.add_timeout_in(group_call_id.get(), 0.0);
} else {
pending_send_speaking_action_timeout_.cancel_timeout(group_call_id.get());
}
}