summaryrefslogtreecommitdiffstats
path: root/store/store.go
diff options
context:
space:
mode:
authorenahum <nahumhbl@gmail.com>2017-02-23 11:08:48 -0300
committerGitHub <noreply@github.com>2017-02-23 11:08:48 -0300
commit748a416961923932e9b2969beb2730ee8c240ea7 (patch)
treef6ab74d35fc1be8b9015f8a89e7ac6058ec1d4fe /store/store.go
parentca7d3b6e7bc2e52cf40180a462492313f298e760 (diff)
downloadchat-748a416961923932e9b2969beb2730ee8c240ea7.tar.gz
chat-748a416961923932e9b2969beb2730ee8c240ea7.tar.bz2
chat-748a416961923932e9b2969beb2730ee8c240ea7.zip
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
Diffstat (limited to 'store/store.go')
-rw-r--r--store/store.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/store/store.go b/store/store.go
index d0c403460..3da331209 100644
--- a/store/store.go
+++ b/store/store.go
@@ -110,6 +110,8 @@ type ChannelStore interface {
GetAllChannelMembersForUser(userId string, allowFromCache bool) StoreChannel
InvalidateAllChannelMembersForUser(userId string)
IsUserInChannelUseCache(userId string, channelId string) bool
+ GetAllChannelMembersNotifyPropsForChannel(channelId string, allowFromCache bool) StoreChannel
+ InvalidateCacheForChannelMembersNotifyProps(channelId string)
GetMemberForPost(postId string, userId string) StoreChannel
InvalidateMemberCount(channelId string)
GetMemberCountFromCache(channelId string) int64