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

Added initial ability to play video messages with ttl.

This commit is contained in:
23rd
2024-01-14 03:49:09 +03:00
committed by John Preston
parent 40ff71b2cd
commit 21dcb7b13c
13 changed files with 128 additions and 22 deletions

View File

@@ -808,7 +808,3 @@ void ClearMediaAsExpired(not_null<HistoryItem*> item) {
}
}
}
[[nodiscard]] bool IsVoiceOncePlayable(not_null<HistoryItem*> item) {
return !item->out() && item->media()->ttlSeconds();
}