summary refs log tree commit diff
path: root/synapse/handlers/typing.py
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2019-11-14 11:02:58 +0000
committerGitHub <noreply@github.com>2019-11-14 11:02:58 +0000
commit6e1b40dc26229e2ec1a97f9c1f27618067c370a7 (patch)
treedf6441348856b5a731b91ca09602a9e127bb8801 /synapse/handlers/typing.py
parentMerge pull request #6220 from matrix-org/neilj/set_room_version_default_to_5 (diff)
parentMerge branch 'develop' of github.com:matrix-org/synapse into anoa/homeserver_... (diff)
downloadsynapse-6e1b40dc26229e2ec1a97f9c1f27618067c370a7.tar.xz
Replace instance variations of homeserver with correct case/spacing (#6357)
Diffstat (limited to 'synapse/handlers/typing.py')
-rw-r--r--synapse/handlers/typing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/typing.py b/synapse/handlers/typing.py
index ca8ae9fb5b..856337b7e2 100644
--- a/synapse/handlers/typing.py
+++ b/synapse/handlers/typing.py
@@ -120,7 +120,7 @@ class TypingHandler(object):
         auth_user_id = auth_user.to_string()
 
         if not self.is_mine_id(target_user_id):
-            raise SynapseError(400, "User is not hosted on this Home Server")
+            raise SynapseError(400, "User is not hosted on this homeserver")
 
         if target_user_id != auth_user_id:
             raise AuthError(400, "Cannot set another user's typing state")
@@ -150,7 +150,7 @@ class TypingHandler(object):
         auth_user_id = auth_user.to_string()
 
         if not self.is_mine_id(target_user_id):
-            raise SynapseError(400, "User is not hosted on this Home Server")
+            raise SynapseError(400, "User is not hosted on this homeserver")
 
         if target_user_id != auth_user_id:
             raise AuthError(400, "Cannot set another user's typing state")