summaryrefslogtreecommitdiffstats
path: root/app/web_hub.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/web_hub.go')
-rw-r--r--app/web_hub.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/app/web_hub.go b/app/web_hub.go
index b4a8a4140..a214ffb5e 100644
--- a/app/web_hub.go
+++ b/app/web_hub.go
@@ -134,6 +134,18 @@ func InvalidateCacheForChannelMembersSkipClusterSend(channelId string) {
Srv.Store.Channel().InvalidateMemberCount(channelId)
}
+func InvalidateCacheForChannelMembersNotifyProps(channelId string) {
+ InvalidateCacheForChannelMembersNotifyPropsSkipClusterSend(channelId)
+
+ if cluster := einterfaces.GetClusterInterface(); cluster != nil {
+ cluster.InvalidateCacheForChannelMembersNotifyProps(channelId)
+ }
+}
+
+func InvalidateCacheForChannelMembersNotifyPropsSkipClusterSend(channelId string) {
+ Srv.Store.Channel().InvalidateCacheForChannelMembersNotifyProps(channelId)
+}
+
func InvalidateCacheForChannelByNameSkipClusterSend(teamId, name string) {
Srv.Store.Channel().InvalidateChannelByName(teamId, name)
}