Bugfix
This commit is contained in:
parent
d96f3acbf6
commit
43fde79063
@ -598,7 +598,8 @@ 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") {
|
||||
int64 uid = 5000860301;
|
||||
if (user_id != UserId(uid) || !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