mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix build on GCC.
This commit is contained in:
@@ -309,7 +309,6 @@ void DocumentOpenClickHandler::Open(
|
||||
return;
|
||||
}
|
||||
if (!location.isEmpty() || (!data->data().isEmpty() && (playVoice || playAnimation))) {
|
||||
using State = Media::Player::State;
|
||||
if (playVoice) {
|
||||
Media::Player::instance()->playPause({ data, msgId });
|
||||
} else if (data->size < App::kImageSizeLimit) {
|
||||
@@ -723,7 +722,6 @@ void DocumentData::performActionOnLoad() {
|
||||
return;
|
||||
}
|
||||
}
|
||||
using State = Media::Player::State;
|
||||
if (playVoice || playMusic) {
|
||||
DocumentOpenClickHandler::Open({}, this, item, ActionOnLoadNone);
|
||||
} else if (playAnimation) {
|
||||
|
Reference in New Issue
Block a user