feat: use CONTACT_MAX_NAME_LENGTH
as max length for session inputs for user profile namepull/3083/head
parent
5ef5fc59a8
commit
bc2e28b6b7
@ -0,0 +1,12 @@
|
||||
import { CONSTANTS, ConstantsType } from 'libsession_util_nodejs';
|
||||
|
||||
const { CONTACT_MAX_NAME_LENGTH, BASE_GROUP_MAX_NAME_LENGTH, GROUP_INFO_MAX_NAME_LENGTH } =
|
||||
CONSTANTS;
|
||||
|
||||
const LIBSESSION_CONSTANTS: ConstantsType = {
|
||||
CONTACT_MAX_NAME_LENGTH,
|
||||
BASE_GROUP_MAX_NAME_LENGTH,
|
||||
GROUP_INFO_MAX_NAME_LENGTH,
|
||||
};
|
||||
|
||||
export default LIBSESSION_CONSTANTS;
|
Loading…
Reference in New Issue