Delete unused MessagesManager::get_history.
This commit is contained in:
parent
16183df0aa
commit
2dba29669f
@ -23550,12 +23550,6 @@ void MessagesManager::on_get_history_finished(const PendingGetHistoryQuery &quer
|
||||
}
|
||||
}
|
||||
|
||||
void MessagesManager::get_history(DialogId dialog_id, MessageId from_message_id, int32 offset, int32 limit,
|
||||
bool from_database, bool only_local, Promise<Unit> &&promise) {
|
||||
get_history_impl(get_dialog(dialog_id), from_message_id, offset, limit, from_database, only_local,
|
||||
std::move(promise));
|
||||
}
|
||||
|
||||
void MessagesManager::get_history_impl(const Dialog *d, MessageId from_message_id, int32 offset, int32 limit,
|
||||
bool from_database, bool only_local, Promise<Unit> &&promise) {
|
||||
TRY_STATUS_PROMISE(promise, G()->close_status());
|
||||
|
@ -2243,9 +2243,6 @@ class MessagesManager final : public Actor {
|
||||
|
||||
void on_get_history_finished(const PendingGetHistoryQuery &query, Result<Unit> &&result);
|
||||
|
||||
void get_history(DialogId dialog_id, MessageId from_message_id, int32 offset, int32 limit, bool from_database,
|
||||
bool only_local, Promise<Unit> &&promise);
|
||||
|
||||
void get_history_impl(const Dialog *d, MessageId from_message_id, int32 offset, int32 limit, bool from_database,
|
||||
bool only_local, Promise<Unit> &&promise);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user