summary refs log tree commit diff
path: root/synapse/handlers/directory.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-18 16:29:02 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-18 16:29:02 +0000
commit8299874aa28b659f0995dc337d1410cb8286ffc1 (patch)
treecbdd2a799c3ca3f09f28b8db71243ce7349a5015 /synapse/handlers/directory.py
parentMerge pull request #6220 from matrix-org/neilj/set_room_version_default_to_5 (diff)
parentReplace instance variations of homeserver with correct case/spacing (#6357) (diff)
downloadsynapse-8299874aa28b659f0995dc337d1410cb8286ffc1.tar.xz
Replace instance variations of homeserver with correct case/spacing (#6357)
* commit '6e1b40dc2':
  sample config
  Add changelog
  A couple more instances
  Replace instance variations of homeserver with correct case/spacing
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r--synapse/handlers/directory.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py
index c4632f8984..69051101a6 100644
--- a/synapse/handlers/directory.py
+++ b/synapse/handlers/directory.py
@@ -283,7 +283,7 @@ class DirectoryHandler(BaseHandler):
     def on_directory_query(self, args):
         room_alias = RoomAlias.from_string(args["room_alias"])
         if not self.hs.is_mine(room_alias):
-            raise SynapseError(400, "Room Alias is not hosted on this Home Server")
+            raise SynapseError(400, "Room Alias is not hosted on this homeserver")
 
         result = yield self.get_association_from_room_alias(room_alias)