2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Added timestamp highlighting in voice captions.

This commit is contained in:
23rd
2021-02-25 16:20:32 +03:00
parent 092b6e7c18
commit 658671089e
3 changed files with 7 additions and 3 deletions

View File

@@ -428,7 +428,7 @@ bool OpenMediaTimestamp(
Core::App().showDocument(
document,
session->data().message(itemId));
} else if (document->isSong()) {
} else if (document->isSong() || document->isVoiceMessage()) {
Media::Player::instance()->play({ document, itemId });
}
return true;