diff options
author | Joram Wilander <jwawilander@gmail.com> | 2017-02-07 14:58:27 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-07 14:58:27 -0800 |
commit | 5462f0119edb788428f90fc61c8651e4a8cd9ad1 (patch) | |
tree | 5c5ee0c3bcbe766e133a95141b7118179e8739d6 /store/store.go | |
parent | 487bb56a9b8f5c7a9efaabfc631f2f6c689ef74b (diff) | |
download | chat-5462f0119edb788428f90fc61c8651e4a8cd9ad1.tar.gz chat-5462f0119edb788428f90fc61c8651e4a8cd9ad1.tar.bz2 chat-5462f0119edb788428f90fc61c8651e4a8cd9ad1.zip |
Implement a few channel member endpoints for APIv4 (#5304)
* Implement GET /channels/{channel_id}/members
* Implement GET /channels/{channel_id}/members/{user_id} endpoint for APIv4
* Implement /users/{user_id}/teams/{team_id}/channels/members endpoint for APIv4
* Fix unit test
Diffstat (limited to 'store/store.go')
-rw-r--r-- | store/store.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/store/store.go b/store/store.go index faf40c280..c94dbc469 100644 --- a/store/store.go +++ b/store/store.go @@ -105,7 +105,7 @@ type ChannelStore interface { GetForPost(postId string) StoreChannel SaveMember(member *model.ChannelMember) StoreChannel UpdateMember(member *model.ChannelMember) StoreChannel - GetMembers(channelId string) StoreChannel + GetMembers(channelId string, offset, limit int) StoreChannel GetMember(channelId string, userId string) StoreChannel GetAllChannelMembersForUser(userId string, allowFromCache bool) StoreChannel InvalidateAllChannelMembersForUser(userId string) |