Use channel.stories_hidden_min flag.
This commit is contained in:
parent
b4c25af1b6
commit
e59a832e10
@ -19135,7 +19135,7 @@ void ContactsManager::on_chat_update(telegram_api::channel &channel, const char
|
||||
on_update_channel_default_permissions(c, channel_id, RestrictedRights(channel.default_banned_rights_));
|
||||
on_update_channel_has_location(c, channel_id, channel.has_geo_);
|
||||
on_update_channel_noforwards(c, channel_id, channel.noforwards_);
|
||||
if (!td_->auth_manager_->is_bot()) {
|
||||
if (!td_->auth_manager_->is_bot() && !channel.stories_hidden_min_) {
|
||||
on_update_channel_stories_hidden(c, channel_id, channel.stories_hidden_);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user