Disable profile photos debug warnings.
GitOrigin-RevId: abe2ea6b184027f6e23b1193d8d61e51ed580c65
This commit is contained in:
parent
aefab830b1
commit
d2b441f812
@ -8615,8 +8615,8 @@ void ContactsManager::on_get_user_photos(UserId user_id, int32 offset, int32 lim
|
||||
return;
|
||||
}
|
||||
|
||||
LOG(WARNING) << "Receive " << photo_count << " photos of " << user_id << " out of " << total_count << " with offset "
|
||||
<< offset << " and limit " << limit;
|
||||
LOG(INFO) << "Receive " << photo_count << " photos of " << user_id << " out of " << total_count << " with offset "
|
||||
<< offset << " and limit " << limit;
|
||||
UserPhotos *user_photos = &user_photos_[user_id];
|
||||
user_photos->count = total_count;
|
||||
CHECK(user_photos->getting_now);
|
||||
@ -9351,7 +9351,7 @@ void ContactsManager::on_delete_profile_photo(int64 profile_photo_id, Promise<Un
|
||||
}
|
||||
|
||||
void ContactsManager::drop_user_photos(UserId user_id, bool is_empty, const char *source) {
|
||||
LOG(WARNING) << "Drop photos of " << user_id << " to " << (is_empty ? "empty" : "unknown") << " from " << source;
|
||||
LOG(INFO) << "Drop photos of " << user_id << " to " << (is_empty ? "empty" : "unknown") << " from " << source;
|
||||
auto it = user_photos_.find(user_id);
|
||||
if (it != user_photos_.end()) {
|
||||
auto user_photos = &it->second;
|
||||
|
Reference in New Issue
Block a user