Fix add_local_message.
GitOrigin-RevId: 75f794d823f120d7b99af5dd57e54535e791cd96
This commit is contained in:
parent
69c785c3ba
commit
a987ec3b00
@ -18143,10 +18143,10 @@ Result<MessageId> MessagesManager::add_local_message(
|
||||
m->have_previous = true;
|
||||
m->have_next = true;
|
||||
|
||||
bool need_update = false;
|
||||
bool need_update = true;
|
||||
bool need_update_dialog_pos = false;
|
||||
auto result =
|
||||
add_message_to_dialog(d, std::move(m), false, &need_update, &need_update_dialog_pos, "add local message");
|
||||
add_message_to_dialog(d, std::move(m), true, &need_update, &need_update_dialog_pos, "add local message");
|
||||
CHECK(result != nullptr);
|
||||
|
||||
if (message_content.clear_draft) {
|
||||
|
Reference in New Issue
Block a user