diff options
Diffstat (limited to 'api/authorization.go')
-rw-r--r-- | api/authorization.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/authorization.go b/api/authorization.go index 8b3140b0f..e931c4b33 100644 --- a/api/authorization.go +++ b/api/authorization.go @@ -79,7 +79,7 @@ func HasPermissionToChannelContext(c *Context, channelId string, permission *mod } } - cc := Srv.Store.Channel().Get(channelId) + cc := Srv.Store.Channel().Get(channelId, true) if ccresult := <-cc; ccresult.Err == nil { channel := ccresult.Data.(*model.Channel) |