Remove redundant assignments.
This commit is contained in:
parent
c612ef6764
commit
151291dc50
@ -10600,7 +10600,7 @@ void MessagesManager::on_get_scheduled_server_messages(DialogId dialog_id, uint3
|
||||
}
|
||||
|
||||
auto full_message_id = on_get_message(std::move(message), d->sent_scheduled_messages, is_channel_message, true,
|
||||
false, false, "on_get_scheduled_server_messages");
|
||||
false /*ignored*/, false /*ignored*/, "on_get_scheduled_server_messages");
|
||||
auto message_id = full_message_id.get_message_id();
|
||||
if (message_id.is_valid_scheduled()) {
|
||||
CHECK(message_id.is_scheduled_server());
|
||||
@ -14879,11 +14879,6 @@ FullMessageId MessagesManager::on_get_message(MessageInfo &&message_info, bool f
|
||||
if (!message_id.is_scheduled()) {
|
||||
is_sent_message = true;
|
||||
}
|
||||
|
||||
if (from_update) {
|
||||
have_previous = true;
|
||||
have_next = true;
|
||||
}
|
||||
}
|
||||
if (d == nullptr) {
|
||||
if (from_update) {
|
||||
|
Loading…
Reference in New Issue
Block a user