Fix MessagesManager::drop_dialog_last_pinned_message_id.

This commit is contained in:
levlam 2024-01-12 12:16:51 +03:00
parent 5d7c69d0d1
commit 4bafdc2b71

View File

@ -29781,9 +29781,10 @@ void MessagesManager::drop_dialog_last_pinned_message_id(Dialog *d) {
LOG(INFO) << "Drop " << d->dialog_id << " pinned message"; LOG(INFO) << "Drop " << d->dialog_id << " pinned message";
create_actor<SleepActor>("ReloadDialogFullInfoActor", 1.0, create_actor<SleepActor>(
PromiseCreator::lambda([dialog_id = d->dialog_id](Result<Unit> result) { "ReloadDialogFullInfoActor", 1.0,
send_closure(G()->dialog_manager(), &DialogManager::reload_dialog_info_full, dialog_id, PromiseCreator::lambda([actor_id = G()->dialog_manager(), dialog_id = d->dialog_id](Result<Unit> result) {
send_closure(actor_id, &DialogManager::reload_dialog_info_full, dialog_id,
"drop_dialog_last_pinned_message_id"); "drop_dialog_last_pinned_message_id");
})) }))
.release(); .release();