add user join hub
This commit is contained in:
@@ -103,7 +103,7 @@ func getHubChannelIfValidWithResponseOnFail(ctx context.Context, response http.R
|
||||
return nil, errors.New("invalid channelid")
|
||||
}
|
||||
|
||||
if !haveUserPermissionsOnChannel(types.CachedUserCanView, hubUser, channel) {
|
||||
if !haveHubUserPermissionsOnChannel(types.CachedUserCanView, hubUser, channel) {
|
||||
return nil, errors.New("invalid channelid")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user