Make get_dialog_pinned_order static.
GitOrigin-RevId: 40e4b29573044b9d5f4fbdf75610eef4eab73421
This commit is contained in:
parent
4ace9f4c02
commit
22f158ac1f
@ -12422,7 +12422,7 @@ int64 MessagesManager::get_dialog_pinned_order(DialogListId dialog_list_id, Dial
|
||||
return get_dialog_pinned_order(get_dialog_list(dialog_list_id), dialog_id);
|
||||
}
|
||||
|
||||
int64 MessagesManager::get_dialog_pinned_order(const DialogList *list, DialogId dialog_id) const {
|
||||
int64 MessagesManager::get_dialog_pinned_order(const DialogList *list, DialogId dialog_id) {
|
||||
if (list != nullptr && !list->pinned_dialogs_.empty()) {
|
||||
auto it = list->pinned_dialog_id_orders_.find(dialog_id);
|
||||
if (it != list->pinned_dialog_id_orders_.end()) {
|
||||
|
@ -1598,7 +1598,7 @@ class MessagesManager : public Actor {
|
||||
|
||||
int64 get_dialog_pinned_order(DialogListId dialog_list_id, DialogId dialog_id) const;
|
||||
|
||||
int64 get_dialog_pinned_order(const DialogList *list, DialogId dialog_id) const;
|
||||
static int64 get_dialog_pinned_order(const DialogList *list, DialogId dialog_id);
|
||||
|
||||
void open_dialog(Dialog *d);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user