Improve error message.

This commit is contained in:
levlam 2021-06-24 23:11:23 +03:00
parent 5c622801f6
commit f8f03db0ce
2 changed files with 2 additions and 2 deletions

View File

@ -12648,7 +12648,7 @@ void ContactsManager::on_update_chat_delete_user(ChatId chat_id, UserId user_id,
return; return;
} }
} }
LOG(ERROR) << "Can't find group member " << user_id << " in " << chat_id << " to delete him"; LOG(ERROR) << "Can't find basic group member " << user_id << " in " << chat_id << " to be removed";
repair_chat_participants(chat_id); repair_chat_participants(chat_id);
} }
} }

View File

@ -1030,7 +1030,7 @@ static bool is_common_tld(Slice str) {
"இந்தியா", "հայ", "新加坡", "فلسطين", "政务", "xperia", "xxx", "xyz", "yachts", "yahoo", "yamaxun", "yandex", "இந்தியா", "հայ", "新加坡", "فلسطين", "政务", "xperia", "xxx", "xyz", "yachts", "yahoo", "yamaxun", "yandex",
"ye", "yodobashi", "yoga", "yokohama", "you", "youtube", "yt", "yun", "za", "zappos", "zara", "zero", "zip", "ye", "yodobashi", "yoga", "yokohama", "you", "youtube", "yt", "yun", "za", "zappos", "zara", "zero", "zip",
"zippo", "zm", "zone", "zuerich", "zippo", "zm", "zone", "zuerich",
// comment for clang-format to prevent him from placing all strings on separate lines // comment for clang-format to prevent it from placing all strings on separate lines
"zw"}); "zw"});
string str_lower = utf8_to_lower(str); string str_lower = utf8_to_lower(str);
if (str_lower != str && utf8_substr(Slice(str_lower), 1) == utf8_substr(str, 1)) { if (str_lower != str && utf8_substr(Slice(str_lower), 1) == utf8_substr(str, 1)) {