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:
@@ -808,7 +808,3 @@ void ClearMediaAsExpired(not_null<HistoryItem*> item) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
[[nodiscard]] bool IsVoiceOncePlayable(not_null<HistoryItem*> item) {
|
||||
return !item->out() && item->media()->ttlSeconds();
|
||||
}
|
||||
|
Reference in New Issue
Block a user