summary refs log tree commit diff
diff options
context:
space:
mode:
authorNeil Johnson <neil@fragile.org.uk>2019-08-24 22:33:43 +0100
committerNeil Johnson <neil@fragile.org.uk>2019-08-24 22:33:43 +0100
commit27d3fc421ab03361b03e4b9b4dd0d912b09412ba (patch)
tree8b66cb08d2a532759d1ee8d40847bee1b4254df8
parentPropagate opentracing contexts through EDUs (#5852) (diff)
downloadsynapse-27d3fc421ab03361b03e4b9b4dd0d912b09412ba.tar.xz
Increase max display name limit
-rw-r--r--changelog.d/5906.feature1
-rw-r--r--synapse/handlers/profile.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/5906.feature b/changelog.d/5906.feature
new file mode 100644
index 0000000000..7c789510a6
--- /dev/null
+++ b/changelog.d/5906.feature
@@ -0,0 +1 @@
+Increase max display name size to 256.
diff --git a/synapse/handlers/profile.py b/synapse/handlers/profile.py
index 2cc237e6a5..8690f69d45 100644
--- a/synapse/handlers/profile.py
+++ b/synapse/handlers/profile.py
@@ -34,7 +34,7 @@ from ._base import BaseHandler
 
 logger = logging.getLogger(__name__)
 
-MAX_DISPLAYNAME_LEN = 100
+MAX_DISPLAYNAME_LEN = 256
 MAX_AVATAR_URL_LEN = 1000