Fix MessagesManager::drop_dialog_last_pinned_message_id.
This commit is contained in:
parent
5d7c69d0d1
commit
4bafdc2b71
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user