mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fixed possible rare crash from voice messages with ttl.
This commit is contained in:
@@ -755,7 +755,6 @@ void MainWidget::handleAudioUpdate(const Media::Player::TrackState &state) {
|
||||
const auto item = session().data().message(state.id.contextId());
|
||||
if (!Media::Player::IsStoppedOrStopping(state.state)) {
|
||||
const auto ttlSeconds = item
|
||||
&& !item->out()
|
||||
&& item->media()
|
||||
&& item->media()->ttlSeconds();
|
||||
if (!ttlSeconds) {
|
||||
|
Reference in New Issue
Block a user