diff options
Diffstat (limited to 'app/authorization.go')
-rw-r--r-- | app/authorization.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/authorization.go b/app/authorization.go index 3de50e27b..0955cb90c 100644 --- a/app/authorization.go +++ b/app/authorization.go @@ -37,7 +37,7 @@ func (a *App) SessionHasPermissionToChannel(session model.Session, channelId str return false } - cmc := a.Srv.Store.Channel().GetAllChannelMembersForUser(session.UserId, true) + cmc := a.Srv.Store.Channel().GetAllChannelMembersForUser(session.UserId, true, true) var channelRoles []string if cmcresult := <-cmc; cmcresult.Err == nil { |