Drop slow_mode_delay in saved to database ChannelFull if slow mode is disabled in the channel.
This commit is contained in:
parent
4a13e791bb
commit
c0c5e24b9b
@ -9622,7 +9622,8 @@ void ContactsManager::on_load_channel_full_from_database(ChannelId channel_id, s
|
||||
}
|
||||
}
|
||||
|
||||
if (invalidated_channels_full_.erase(channel_id) > 0) {
|
||||
if (invalidated_channels_full_.erase(channel_id) > 0 ||
|
||||
(!c->is_slow_mode_enabled && channel_full->slow_mode_delay != 0)) {
|
||||
do_invalidate_channel_full(channel_full, !c->is_slow_mode_enabled);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user