mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Remove corner download if noforwards.
This commit is contained in:
@@ -252,7 +252,7 @@ void ResolveDocument(
|
||||
if (document->isTheme() && media->loaded(true)) {
|
||||
showDocument();
|
||||
location.accessDisable();
|
||||
} else if (media->canBePlayed()) {
|
||||
} else if (media->canBePlayed(item)) {
|
||||
if (document->isAudioFile()
|
||||
|| document->isVoiceMessage()
|
||||
|| document->isVideoMessage()) {
|
||||
|
||||
Reference in New Issue
Block a user