Do nothing in MessagesManager::reload_voice_chat_on_search before authorization.
This commit is contained in:
parent
3ec53c8d78
commit
409f7f5dd7
@ -33652,6 +33652,10 @@ DialogId MessagesManager::search_public_dialog(const string &username_to_search,
|
|||||||
}
|
}
|
||||||
|
|
||||||
void MessagesManager::reload_voice_chat_on_search(const string &username) {
|
void MessagesManager::reload_voice_chat_on_search(const string &username) {
|
||||||
|
if (!td_->auth_manager_->is_authorized()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
auto cleaned_username = clean_username(username);
|
auto cleaned_username = clean_username(username);
|
||||||
if (!cleaned_username.empty()) {
|
if (!cleaned_username.empty()) {
|
||||||
reload_voice_chat_on_search_usernames_.insert(cleaned_username);
|
reload_voice_chat_on_search_usernames_.insert(cleaned_username);
|
||||||
|
Loading…
Reference in New Issue
Block a user