mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix possible crash in failed media resume.
This commit is contained in:
parent
4aaecfd531
commit
c13e433e65
1 changed files with 1 additions and 1 deletions
|
@ -811,7 +811,7 @@ bool Player::buffering() const {
|
|||
}
|
||||
|
||||
bool Player::paused() const {
|
||||
return _pausedByUser;
|
||||
return _pausedByUser && active();
|
||||
}
|
||||
|
||||
bool Player::finished() const {
|
||||
|
|
Loading…
Add table
Reference in a new issue