2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Handle voice playlist in Media::Player::Instance.

This allows video and voice messages to autoplay one after another.
This commit is contained in:
John Preston
2017-05-19 21:11:33 +03:00
parent b9119e5ef6
commit 611a3e2f8a
8 changed files with 243 additions and 148 deletions

View File

@@ -1604,7 +1604,7 @@ void MainWidget::closeBothPlayers() {
Media::Player::instance()->usePanelPlayer().notify(false, true);
_playerPanel->hideIgnoringEnterEvents();
_playerPlaylist->hideIgnoringEnterEvents();
Media::Player::instance()->stop();
Media::Player::instance()->stop(AudioMsgId::Type::Song);
Shortcuts::disableMediaShortcuts();
}