Merge pull request #5906 from matrix-org/neilj/increase_display_name_limit

Increase profile display name limit
This commit is contained in:
Richard van der Hoff 2019-08-27 11:52:59 +01:00 committed by GitHub
commit ccb15a5bbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/5906.feature Normal file
View File

@ -0,0 +1 @@
Increase max display name size to 256.

View File

@ -34,7 +34,7 @@ from ._base import BaseHandler
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
MAX_DISPLAYNAME_LEN = 100 MAX_DISPLAYNAME_LEN = 256
MAX_AVATAR_URL_LEN = 1000 MAX_AVATAR_URL_LEN = 1000