summary refs log tree commit diff
path: root/synapse/handlers
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2023-05-05 15:51:46 +0100
committerGitHub <noreply@github.com>2023-05-05 15:51:46 +0100
commit7c95b65873c7a858388b9c99c7e9e15dc5ccb2b5 (patch)
treef50dd2288c2561afbfeed965e02563a9711e5ce9 /synapse/handlers
parentFactor out an `is_mine_server_name` method (#15542) (diff)
downloadsynapse-7c95b65873c7a858388b9c99c7e9e15dc5ccb2b5.tar.xz
Clean up and clarify "Create or modify Account" Admin API documentation (#15544)
Diffstat (limited to 'synapse/handlers')
-rw-r--r--synapse/handlers/profile.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/profile.py b/synapse/handlers/profile.py
index 48f9858931..a9160c87e3 100644
--- a/synapse/handlers/profile.py
+++ b/synapse/handlers/profile.py
@@ -170,8 +170,8 @@ class ProfileHandler:
             displayname_to_set = None
 
         # If the admin changes the display name of a user, the requesting user cannot send
-        # the join event to update the displayname in the rooms.
-        # This must be done by the target user himself.
+        # the join event to update the display name in the rooms.
+        # This must be done by the target user themselves.
         if by_admin:
             requester = create_requester(
                 target_user,