Fix thumbnail format copy.
GitOrigin-RevId: 0b2a91ed524ce652c871f5d508f4a38ea36468f5
This commit is contained in:
parent
5b69e72b09
commit
f8b6d7340e
@ -881,6 +881,8 @@ tl_object_ptr<td_api::thumbnail> copy(const td_api::thumbnail &obj) {
|
||||
return td_api::make_object<td_api::thumbnailFormatTgs>();
|
||||
case td_api::thumbnailFormatMpeg4::ID:
|
||||
return td_api::make_object<td_api::thumbnailFormatMpeg4>();
|
||||
case td_api::thumbnailFormatGif::ID:
|
||||
return td_api::make_object<td_api::thumbnailFormatGif>();
|
||||
default:
|
||||
UNREACHABLE();
|
||||
return nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user