mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-12 07:30:00 -04:00
Bump black from 22.12.0 to 23.1.0 (#15103)
This commit is contained in:
parent
4ed08ff72e
commit
9bb2eac719
117 changed files with 108 additions and 218 deletions
|
@ -497,9 +497,11 @@ class DirectoryHandler:
|
|||
raise SynapseError(403, "Not allowed to publish room")
|
||||
|
||||
# Check if publishing is blocked by a third party module
|
||||
allowed_by_third_party_rules = await (
|
||||
self.third_party_event_rules.check_visibility_can_be_modified(
|
||||
room_id, visibility
|
||||
allowed_by_third_party_rules = (
|
||||
await (
|
||||
self.third_party_event_rules.check_visibility_can_be_modified(
|
||||
room_id, visibility
|
||||
)
|
||||
)
|
||||
)
|
||||
if not allowed_by_third_party_rules:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue