mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-30 22:16:14 +00:00
Merge branch 'master' into video
Conflicts: Telegram/SourceFiles/mainwidget.cpp Telegram/SourceFiles/structs.cpp
This commit is contained in:
@@ -1542,7 +1542,11 @@ void MainWidget::audioPlayProgress(const AudioMsgId &audioId) {
|
||||
DocumentData *audio = audioId.audio();
|
||||
QString filepath = audio->filepath(DocumentData::FilePathResolveSaveFromData);
|
||||
if (!filepath.isEmpty()) {
|
||||
psOpenFile(filepath);
|
||||
if (documentIsValidMediaFile(filepath)) {
|
||||
psOpenFile(filepath);
|
||||
} else {
|
||||
psShowInFolder(filepath);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user