mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-21 13:03:09 -06:00
rename isEntitled to isEntitledToSpace (#1174)
This commit is contained in:
parent
b09cd18803
commit
3700bcbde4
File diff suppressed because one or more lines are too long
|
|
@ -161,7 +161,7 @@ func (za *ZionAuthorizationV2) isAllowedLocalhost(
|
||||||
switch roomInfo.ChannelNetworkId {
|
switch roomInfo.ChannelNetworkId {
|
||||||
case "":
|
case "":
|
||||||
// ChannelNetworkId is empty. Space entitlement check.
|
// ChannelNetworkId is empty. Space entitlement check.
|
||||||
isEntitled, err = space.IsEntitled(
|
isEntitled, err = space.IsEntitledToSpace(
|
||||||
nil,
|
nil,
|
||||||
user,
|
user,
|
||||||
permission.String(),
|
permission.String(),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue