mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02: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