@@ -1459,13 +1459,13 @@ protected InputConnection createInputConnection (EditorInfo editorInfo) {
14591459 final boolean isSecretChat = ChatId .isSecret (chatId );
14601460 if (mediaType == MediaType .GIF && isAnimatedGif ) {
14611461 TdApi .InputFileGenerated generated = TD .newGeneratedFile (null , path , 0 , timestamp );
1462- content = tdlib .filegen ().createThumbnail (new TdApi .InputMessageAnimation (generated , null , null , 0 , imageWidth , imageHeight , null , false ), isSecretChat );
1462+ content = tdlib .filegen ().createThumbnail (new TdApi .InputMessageAnimation (generated , null , null , 0 , imageWidth , imageHeight , null , false , false ), isSecretChat );
14631463 } else if ((mediaType != MediaType .JPEG && (mediaType == MediaType .WEBP || path .contains ("sticker" ) || Math .max (imageWidth , imageHeight ) <= 512 ))) {
14641464 TdApi .InputFileGenerated generated = PhotoGenerationInfo .newFile (path , 0 , timestamp , true , 512 );
14651465 content = tdlib .filegen ().createThumbnail (new TdApi .InputMessageSticker (generated , null , imageWidth , imageHeight , null ), isSecretChat );
14661466 } else {
14671467 TdApi .InputFileGenerated generated = PhotoGenerationInfo .newFile (path , 0 , timestamp , false , 0 );
1468- content = tdlib .filegen ().createThumbnail (new TdApi .InputMessagePhoto (generated , null , null , imageWidth , imageHeight , null , null , false ), isSecretChat );
1468+ content = tdlib .filegen ().createThumbnail (new TdApi .InputMessagePhoto (generated , null , null , imageWidth , imageHeight , null , false , null , false ), isSecretChat );
14691469 }
14701470
14711471 UI .post (() -> {
0 commit comments