mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 19:44:51 -04:00
lint, fix tests
This commit is contained in:
parent
885134529f
commit
39f6595b4a
2 changed files with 5 additions and 3 deletions
|
@ -161,7 +161,9 @@ class BaseProfileHandler(BaseHandler):
|
|||
profile = yield self.store.get_profileinfo(target_user.localpart)
|
||||
if profile.display_name:
|
||||
raise SynapseError(
|
||||
400, "Changing display name is disabled on this server", Codes.FORBIDDEN
|
||||
400,
|
||||
"Changing display name is disabled on this server",
|
||||
Codes.FORBIDDEN,
|
||||
)
|
||||
|
||||
if len(new_displayname) > MAX_DISPLAYNAME_LEN:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue