mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
fixed audio mark as read after download
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user