Temporary fix to ensure kde can contact matrix.org if stuff breaks

This commit is contained in:
Brendan Abolivier 2019-08-13 18:05:06 +01:00
parent 8d5762b0dc
commit d90b0946ed
No known key found for this signature in database
GPG key ID: 1E015C145F1916CD

View file

@ -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: