diff --git a/changelog.d/5906.feature b/changelog.d/5906.feature new file mode 100644 index 0000000000000000000000000000000000000000..7c789510a696d561c1f0b8b8b0fce87daa2d8831 --- /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 2cc237e6a53ff5aece77e486f8e56f091fa00be3..8690f69d4549c63c89eaeadb0161df8d562b5d8c 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