2
0
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:
John Preston
2020-07-03 22:57:30 +04:00
parent f99960e1f6
commit 5c5414b680
6 changed files with 157 additions and 48 deletions

View File

@@ -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);
}
}
}
}