mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-13 18:47:19 +00:00
fixed audio mark as read after download
This commit is contained in:
parent
7ca4ec1bed
commit
f24e3c6192
@ -1369,6 +1369,7 @@ void MainWidget::audioLoadProgress(mtpFileLoader *loader) {
|
||||
audioVoice()->pauseresume();
|
||||
} else {
|
||||
audioVoice()->play(audio);
|
||||
if (App::main()) App::main()->audioMarkRead(audio);
|
||||
}
|
||||
} else {
|
||||
QPoint pos(QCursor::pos());
|
||||
@ -1377,6 +1378,7 @@ void MainWidget::audioLoadProgress(mtpFileLoader *loader) {
|
||||
} else {
|
||||
psOpenFile(already, audio->openOnSave < 0);
|
||||
}
|
||||
if (App::main()) App::main()->audioMarkRead(audio);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user