mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-06 11:52:58 +00:00
Excluded self and replies chats from dialogs video userpics.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user