mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
fix: keep source avatar when forwarded source is inaccessible
This commit is contained in:
@@ -1150,7 +1150,9 @@ not_null<PeerData*> Session::processChat(const MTPChat &data) {
|
||||
channel->setName(qs(data.vtitle()), QString());
|
||||
|
||||
channel->setAccessHash(data.vaccess_hash().v);
|
||||
channel->setPhoto(MTP_chatPhotoEmpty());
|
||||
if (channel->userpicPhotoUnknown()) {
|
||||
channel->setPhoto(MTP_chatPhotoEmpty());
|
||||
}
|
||||
channel->date = 0;
|
||||
channel->setMembersCount(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user