diff --git a/Telegram/SourceFiles/history/view/media/history_view_document.cpp b/Telegram/SourceFiles/history/view/media/history_view_document.cpp index b7714d5792..bb64302c74 100644 --- a/Telegram/SourceFiles/history/view/media/history_view_document.cpp +++ b/Telegram/SourceFiles/history/view/media/history_view_document.cpp @@ -440,6 +440,7 @@ QSize Document::countOptimalSize() { const auto session = &history->session(); const auto transcribes = &session->api().transcribes(); if (_parent->data()->media()->ttlSeconds() + || _realParent->isScheduled() || (!session->premium() && !transcribes->freeFor(_realParent) && !transcribes->trialsSupport())) { diff --git a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp index bda09fe8da..2097ca1b56 100644 --- a/Telegram/SourceFiles/history/view/media/history_view_gif.cpp +++ b/Telegram/SourceFiles/history/view/media/history_view_gif.cpp @@ -2063,6 +2063,7 @@ bool Gif::needCornerStatusDisplay() const { void Gif::ensureTranscribeButton() const { if (_data->isVideoMessage() && !_parent->data()->media()->ttlSeconds() + && !_parent->data()->isScheduled() && (_data->session().premium() || _data->session().api().transcribes().trialsSupport())) { if (!_transcribe) {