Remove unnecessary cache invalidation for channel (#26256)

```release-note
NONE
```
This commit is contained in:
Agniva De Sarker 2024-02-22 10:01:17 +05:30 committed by GitHub
parent f5ee5463e4
commit c4432a5234
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -263,7 +263,6 @@ func (scs *Service) notifyClientsForSharedChannelConverted(channel *model.Channe
}
func (scs *Service) notifyClientsForSharedChannelUpdate(channel *model.Channel) {
scs.platform.InvalidateCacheForChannel(channel)
messageWs := model.NewWebSocketEvent(model.WebsocketEventChannelUpdated, channel.TeamId, "", "", nil, "")
messageWs.Add("channel_id", channel.Id)
scs.app.Publish(messageWs)