mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Notify about feed channels list changes.
This commit is contained in:
@@ -299,6 +299,13 @@ void PeerData::setUserpicChecked(
|
||||
|| _userpicLocation != location) {
|
||||
setUserpic(photoId, location, userpic);
|
||||
Notify::peerUpdatedDelayed(this, UpdateFlag::PhotoChanged);
|
||||
if (const auto channel = asChannel()) {
|
||||
if (const auto feed = channel->feed()) {
|
||||
Auth().data().notifyFeedUpdated(
|
||||
feed,
|
||||
Data::FeedUpdateFlag::ChannelPhoto);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user