summary refs log tree commit diff
diff options
context:
space:
mode:
authorH. Shay <hillerys@element.io>2022-04-28 11:55:00 -0700
committerH. Shay <hillerys@element.io>2022-04-28 11:55:00 -0700
commit85b30abfde1465de6f900434d21ed35ad850810c (patch)
tree06eea1229ff1218395fa1be52d87756bcfc5ab34
parentupdate newsfragment number (diff)
downloadsynapse-85b30abfde1465de6f900434d21ed35ad850810c.tar.xz
-rw-r--r--synapse/module_api/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/module_api/__init__.py b/synapse/module_api/__init__.py
index 611d8a5cf7..e79f058e85 100644
--- a/synapse/module_api/__init__.py
+++ b/synapse/module_api/__init__.py
@@ -579,6 +579,9 @@ class ModuleApi:
     ) -> str:
         """Map a username onto a string suitable for a MXID
 
+        This follows the algorithm laid out at
+        https://matrix.org/docs/spec/appendices.html#mapping-from-other-character-sets.
+
         Added in Synapse v1.58.0
 
         Args: