Fix thumbnail format copy.

GitOrigin-RevId: 0b2a91ed524ce652c871f5d508f4a38ea36468f5
This commit is contained in:
levlam 2020-07-20 01:02:41 +03:00
parent 5b69e72b09
commit f8b6d7340e

View File

@ -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;