mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Adding caching to get channel member (#5518)
This commit is contained in:
committed by
Corey Hulen
parent
7fc5dc236a
commit
ba028ed74b
@@ -106,7 +106,8 @@ type ChannelStore interface {
|
||||
SaveMember(member *model.ChannelMember) StoreChannel
|
||||
UpdateMember(member *model.ChannelMember) StoreChannel
|
||||
GetMembers(channelId string, offset, limit int) StoreChannel
|
||||
GetMember(channelId string, userId string) StoreChannel
|
||||
GetMember(channelId string, userId string, allowFromCache bool) StoreChannel
|
||||
InvalidateMember(channelId string, userId string)
|
||||
GetAllChannelMembersForUser(userId string, allowFromCache bool) StoreChannel
|
||||
InvalidateAllChannelMembersForUser(userId string)
|
||||
IsUserInChannelUseCache(userId string, channelId string) bool
|
||||
|
||||
Reference in New Issue
Block a user