Disable profile photos debug warnings.
GitOrigin-RevId: abe2ea6b184027f6e23b1193d8d61e51ed580c65
This commit is contained in:
parent
aefab830b1
commit
d2b441f812
@ -8615,7 +8615,7 @@ void ContactsManager::on_get_user_photos(UserId user_id, int32 offset, int32 lim
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG(WARNING) << "Receive " << photo_count << " photos of " << user_id << " out of " << total_count << " with offset "
|
LOG(INFO) << "Receive " << photo_count << " photos of " << user_id << " out of " << total_count << " with offset "
|
||||||
<< offset << " and limit " << limit;
|
<< offset << " and limit " << limit;
|
||||||
UserPhotos *user_photos = &user_photos_[user_id];
|
UserPhotos *user_photos = &user_photos_[user_id];
|
||||||
user_photos->count = total_count;
|
user_photos->count = total_count;
|
||||||
@ -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) {
|
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);
|
auto it = user_photos_.find(user_id);
|
||||||
if (it != user_photos_.end()) {
|
if (it != user_photos_.end()) {
|
||||||
auto user_photos = &it->second;
|
auto user_photos = &it->second;
|
||||||
|
Reference in New Issue
Block a user