From a11b078d5b771fe25fbb8a6639c4ab51d3f250cf Mon Sep 17 00:00:00 2001 From: Ian Macdonald Date: Tue, 15 Mar 2022 08:43:02 +0100 Subject: [PATCH] Allow user names up to 26 characters long, in line with Android. See https://github.com/oxen-io/session-android/blob/master/libsession/src/main/java/org/session/libsession/utilities/SSKEnvironment.kt#L29 --- ts/components/registration/RegistrationStages.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/components/registration/RegistrationStages.tsx b/ts/components/registration/RegistrationStages.tsx index 0e5767359..80b0f1b0f 100644 --- a/ts/components/registration/RegistrationStages.tsx +++ b/ts/components/registration/RegistrationStages.tsx @@ -16,7 +16,7 @@ import { } from '../../util/accountManager'; import { fromHex } from '../../session/utils/String'; -export const MAX_USERNAME_LENGTH = 20; +export const MAX_USERNAME_LENGTH = 26; // tslint:disable: use-simple-attributes export async function resetRegistration() {