Fixed appearing of transcribe button on various messages with video.
This commit is contained in:
parent
079c36abf3
commit
290e8bb449
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue