Ignore empty next_offset in group calls with new participants added to the end of the list.
This commit is contained in:
parent
f972b3ad56
commit
35a0a7c383
@ -1632,8 +1632,12 @@ void GroupCallManager::on_get_group_call_participants(
|
||||
if (is_load) {
|
||||
auto *group_call_participants = add_group_call_participants(input_group_call_id);
|
||||
if (group_call_participants->next_offset == offset) {
|
||||
if (!offset.empty() && participants->next_offset_.empty() && group_call_participants->joined_date_asc) {
|
||||
LOG(INFO) << "Ignore empty next_offset";
|
||||
} else {
|
||||
group_call_participants->next_offset = std::move(participants->next_offset_);
|
||||
}
|
||||
}
|
||||
|
||||
if (is_empty || is_sync) {
|
||||
bool need_update = false;
|
||||
|
Loading…
Reference in New Issue
Block a user