Fix call to old method name
parent
0f4c1bba35
commit
3bde820620
|
@ -457,8 +457,8 @@ class DirectoryHandler(BaseHandler):
|
||||||
|
|
||||||
# Check if publishing is blocked by a third party module
|
# Check if publishing is blocked by a third party module
|
||||||
allowed_by_third_party_rules = await (
|
allowed_by_third_party_rules = await (
|
||||||
self.third_party_event_rules.check_room_can_be_added_to_public_rooms_directory(
|
self.third_party_event_rules.check_visibility_can_be_modified(
|
||||||
room_id
|
room_id, visibility
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
if not allowed_by_third_party_rules:
|
if not allowed_by_third_party_rules:
|
||||||
|
|
Loading…
Reference in New Issue