summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2019-08-27 11:52:59 +0100
committerGitHub <noreply@github.com>2019-08-27 11:52:59 +0100
commitccb15a5bbe12e2a0dd90a7f217a883a8412762d6 (patch)
treeded79b2fc3bbe9c87c6d0c63faa5a90dbce23378
parentMerge pull request #5895 from matrix-org/erikj/notary_key (diff)
parentIncrease max display name limit (diff)
downloadsynapse-ccb15a5bbe12e2a0dd90a7f217a883a8412762d6.tar.xz
Merge pull request #5906 from matrix-org/neilj/increase_display_name_limit
Increase profile 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