Fix ContactsManager::get_chat_participant.

This commit is contained in:
levlam 2021-07-27 00:59:13 +03:00
parent 85fc9065fd
commit 4124f7e0f0

View File

@ -14892,6 +14892,7 @@ void ContactsManager::get_chat_participant(ChatId chat_id, UserId user_id, Promi
send_closure(actor_id, &ContactsManager::finish_get_chat_participant, chat_id, user_id, std::move(promise)); send_closure(actor_id, &ContactsManager::finish_get_chat_participant, chat_id, user_id, std::move(promise));
}); });
send_get_chat_full_query(chat_id, std::move(query_promise), "get_chat_participant"); send_get_chat_full_query(chat_id, std::move(query_promise), "get_chat_participant");
return;
} }
if (is_chat_full_outdated(chat_full, c, chat_id)) { if (is_chat_full_outdated(chat_full, c, chat_id)) {