mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Improve video userpics in chat history.
This commit is contained in:
@@ -3208,6 +3208,10 @@ void Session::checkPlayingAnimations() {
|
||||
if (document->isAnimation() || document->isVideoFile()) {
|
||||
check.emplace(view);
|
||||
}
|
||||
} else if (const auto photo = media->getPhoto()) {
|
||||
if (photo->hasVideo()) {
|
||||
check.emplace(view);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user