PLT-3193 Add channel notification preferences for push and email noti… (#5500)

* PLT-3193 Add channel notification preferences for push and email notifications

* unit tests, model validation and localization

* Feedback review

* Adding back allowFromCache check

* Setting push and email to use default settings

* Move props as constants

* address feedback
This commit is contained in:
enahum
2017-02-23 11:08:48 -03:00
committed by GitHub
parent ca7d3b6e7b
commit 748a416961
12 changed files with 247 additions and 68 deletions

View File

@@ -17,6 +17,7 @@ type ClusterInterface interface {
InvalidateCacheForChannel(channelId string)
InvalidateCacheForChannelByName(teamId, name string)
InvalidateCacheForChannelMembers(channelId string)
InvalidateCacheForChannelMembersNotifyProps(channelId string)
InvalidateCacheForChannelPosts(channelId string)
InvalidateCacheForWebhook(webhookId string)
Publish(event *model.WebSocketEvent)