From 290e8bb449ecd67a66cf637f0aef3881b236a0c6 Mon Sep 17 00:00:00 2001 From: 23rd <23rd@vivaldi.net> Date: Sat, 29 Oct 2022 08:51:38 +0300 Subject: [PATCH] Fixed appearing of transcribe button on various messages with video. --- Telegram/SourceFiles/history/view/media/history_view_gif.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp index 05f9cbd880..e94f4df4b4 100644 --- a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp +++ b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp @@ -1752,7 +1752,7 @@ bool Gif::needCornerStatusDisplay() const { } void Gif::ensureTranscribeButton() const { - if (_data->session().premium()) { + if (_data->isVideoMessage() && _data->session().premium()) { if (!_transcribe) { _transcribe = std::make_unique( _realParent,