mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-15 15:50:11 -04:00
Merge remote-tracking branch 'upstream/release-v1.63'
This commit is contained in:
commit
a026581985
106 changed files with 3262 additions and 1370 deletions
|
@ -151,7 +151,8 @@ class DirectoryHandler:
|
|||
raise AuthError(
|
||||
403,
|
||||
"This user is not permitted to create this alias",
|
||||
spam_check,
|
||||
errcode=spam_check[0],
|
||||
additional_fields=spam_check[1],
|
||||
)
|
||||
|
||||
if not self.config.roomdirectory.is_alias_creation_allowed(
|
||||
|
@ -443,7 +444,8 @@ class DirectoryHandler:
|
|||
raise AuthError(
|
||||
403,
|
||||
"This user is not permitted to publish rooms to the room list",
|
||||
spam_check,
|
||||
errcode=spam_check[0],
|
||||
additional_fields=spam_check[1],
|
||||
)
|
||||
|
||||
if requester.is_guest:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue