Fix compilation error.
This commit is contained in:
parent
fc6b1c0ea8
commit
1191f13f91
@ -598,7 +598,7 @@ Result<AttachMenuManager::AttachMenuBot> AttachMenuManager::get_attach_menu_bot(
|
||||
auto parsed_document =
|
||||
td_->documents_manager_->on_get_document(move_tl_object_as<telegram_api::document>(icon->icon_), DialogId());
|
||||
if (parsed_document.type != expected_document_type) {
|
||||
if (user_id != UserId(5000860301) || !G()->is_test_dc() || name != "macos_animated") {
|
||||
if (user_id != UserId(static_cast<int64>(5000860301)) || !G()->is_test_dc() || name != "macos_animated") {
|
||||
LOG(ERROR) << "Receive wrong attachment menu bot icon \"" << name << "\" for " << user_id;
|
||||
}
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user