mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 05:07:10 +02:00
Removed trial transcribe button from long voice messages.
This commit is contained in:
parent
48fb0f3b1e
commit
522e45ce92
1 changed files with 3 additions and 1 deletions
|
@ -422,7 +422,9 @@ QSize Document::countOptimalSize() {
|
|||
|| _realParent->isScheduled()
|
||||
|| (!session->premium()
|
||||
&& !transcribes->freeFor(_realParent)
|
||||
&& !transcribes->trialsSupport())) {
|
||||
&& !transcribes->trialsSupport())
|
||||
|| (!session->premium()
|
||||
&& _data->duration() > transcribes->trialsMaxLengthMs())) {
|
||||
voice->transcribe = nullptr;
|
||||
voice->transcribeText = {};
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue