Remove chat identifier logging from PhotoSizeSource.

This commit is contained in:
levlam 2023-07-13 16:25:57 +03:00
parent 6d4d8ad5f8
commit cf67743311

View File

@ -233,18 +233,18 @@ StringBuilder &operator<<(StringBuilder &string_builder, const PhotoSizeSource &
return string_builder << "PhotoSizeSourceThumbnail[" << source.thumbnail().file_type return string_builder << "PhotoSizeSourceThumbnail[" << source.thumbnail().file_type
<< ", type = " << source.thumbnail().thumbnail_type << ']'; << ", type = " << source.thumbnail().thumbnail_type << ']';
case PhotoSizeSource::Type::DialogPhotoSmall: case PhotoSizeSource::Type::DialogPhotoSmall:
return string_builder << "PhotoSizeSourceChatPhotoSmall[" << source.dialog_photo().dialog_id << ']'; return string_builder << "PhotoSizeSourceChatPhotoSmall[]";
case PhotoSizeSource::Type::DialogPhotoBig: case PhotoSizeSource::Type::DialogPhotoBig:
return string_builder << "PhotoSizeSourceChatPhotoBig[" << source.dialog_photo().dialog_id << ']'; return string_builder << "PhotoSizeSourceChatPhotoBig[]";
case PhotoSizeSource::Type::StickerSetThumbnail: case PhotoSizeSource::Type::StickerSetThumbnail:
return string_builder << "PhotoSizeSourceStickerSetThumbnail[" << source.sticker_set_thumbnail().sticker_set_id return string_builder << "PhotoSizeSourceStickerSetThumbnail[" << source.sticker_set_thumbnail().sticker_set_id
<< ']'; << ']';
case PhotoSizeSource::Type::FullLegacy: case PhotoSizeSource::Type::FullLegacy:
return string_builder << "PhotoSizeSourceFullLegacy[]"; return string_builder << "PhotoSizeSourceFullLegacy[]";
case PhotoSizeSource::Type::DialogPhotoSmallLegacy: case PhotoSizeSource::Type::DialogPhotoSmallLegacy:
return string_builder << "PhotoSizeSourceChatPhotoSmallLegacy[" << source.dialog_photo().dialog_id << ']'; return string_builder << "PhotoSizeSourceChatPhotoSmallLegacy[]";
case PhotoSizeSource::Type::DialogPhotoBigLegacy: case PhotoSizeSource::Type::DialogPhotoBigLegacy:
return string_builder << "PhotoSizeSourceChatPhotoBigLegacy[" << source.dialog_photo().dialog_id << ']'; return string_builder << "PhotoSizeSourceChatPhotoBigLegacy[]";
case PhotoSizeSource::Type::StickerSetThumbnailLegacy: case PhotoSizeSource::Type::StickerSetThumbnailLegacy:
return string_builder << "PhotoSizeSourceStickerSetThumbnailLegacy[" return string_builder << "PhotoSizeSourceStickerSetThumbnailLegacy["
<< source.sticker_set_thumbnail().sticker_set_id << ']'; << source.sticker_set_thumbnail().sticker_set_id << ']';