Fixed appearing of transcribe button on various messages with video.

This commit is contained in:
23rd 2022-10-29 08:51:38 +03:00 committed by John Preston
parent 079c36abf3
commit 290e8bb449
1 changed files with 1 additions and 1 deletions

View File

@ -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<TranscribeButton>(
_realParent,