mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-10 08:39:45 +00:00
Fix possible crash in failed media resume.
This commit is contained in:
parent
4aaecfd531
commit
c13e433e65
@ -811,7 +811,7 @@ bool Player::buffering() const {
|
||||
}
|
||||
|
||||
bool Player::paused() const {
|
||||
return _pausedByUser;
|
||||
return _pausedByUser && active();
|
||||
}
|
||||
|
||||
bool Player::finished() const {
|
||||
|
Loading…
Reference in New Issue
Block a user