Don't set have_next to true if all next messages were deleted.
This commit is contained in:
parent
93ac629a74
commit
5171d793d0
@ -9386,7 +9386,9 @@ void MessagesManager::on_get_history(DialogId dialog_id, MessageId from_message_
|
||||
}
|
||||
}
|
||||
|
||||
have_next = true;
|
||||
if (!message_ids.empty()) {
|
||||
have_next = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user