mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-21 00:23:56 +08: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