Excluded self and replies chats from dialogs video userpics.

This commit is contained in:
23rd
2026-07-09 09:05:05 +03:00
committed by John Preston
parent a24eaa8677
commit eac037551c
@@ -1729,7 +1729,9 @@ Ui::VideoUserpic *InnerWidget::validateVideoUserpic(
const auto peer = history->peer;
if (!peer->isPremium()
|| peer->userpicPhotoUnknown()
|| !peer->userpicHasVideo()) {
|| !peer->userpicHasVideo()
|| peer->isSelf()
|| peer->isRepliesChat()) {
_videoUserpics.remove(peer);
return nullptr;
}