summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-08-13 18:05:06 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-08-13 18:05:06 +0100
commitd90b0946ed775ca228895dd9f7e63bd16bed6391 (patch)
treefa16baa1153cf2ddffa30221b446ba0175b6cdf7
parentMerge branch 'release-v1.3.0' of github.com:matrix-org/synapse into matrix-or... (diff)
downloadsynapse-d90b0946ed775ca228895dd9f7e63bd16bed6391.tar.xz
Temporary fix to ensure kde can contact matrix.org if stuff breaks
-rw-r--r--synapse/http/federation/well_known_resolver.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/http/federation/well_known_resolver.py b/synapse/http/federation/well_known_resolver.py
index d2866ff67d..d4bbf057e2 100644
--- a/synapse/http/federation/well_known_resolver.py
+++ b/synapse/http/federation/well_known_resolver.py
@@ -79,6 +79,10 @@ class WellKnownResolver(object):
         Returns:
             Deferred[WellKnownLookupResult]: The result of the lookup
         """
+
+        if server_name == b"kde.org":
+            return WellKnownLookupResult(delegated_server=b"kde.modular.im:443")
+
         try:
             result = self._well_known_cache[server_name]
         except KeyError: