Fix get_dialog_pinned_message.
GitOrigin-RevId: 19c58053e7d0d28729f6f7ca341b788df02a091d
This commit is contained in:
parent
e783b0c2ec
commit
35045bf18e
@ -16339,6 +16339,8 @@ MessageId MessagesManager::get_dialog_pinned_message(DialogId dialog_id, Promise
|
||||
input_message = make_tl_object<telegram_api::inputMessagePinned>();
|
||||
}
|
||||
get_message_force_from_server(d, d->last_pinned_message_id, std::move(promise), std::move(input_message));
|
||||
} else {
|
||||
promise.set_value(Unit());
|
||||
}
|
||||
|
||||
return d->last_pinned_message_id;
|
||||
|
Loading…
Reference in New Issue
Block a user