1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/http/endpoint.py b/synapse/http/endpoint.py
index 7018ee3458..9c8888f565 100644
--- a/synapse/http/endpoint.py
+++ b/synapse/http/endpoint.py
@@ -27,8 +27,8 @@ import random
logger = logging.getLogger(__name__)
-def matrix_endpoint(reactor, destination, ssl_context_factory=None,
- timeout=None):
+def matrix_federation_endpoint(reactor, destination, ssl_context_factory=None,
+ timeout=None):
"""Construct an endpoint for the given matrix destination.
Args:
|