Increased the max username length from 26 bytes to 64 bytes
This commit is contained in:
parent
37124c2185
commit
5b1e19dd2e
|
@ -9,7 +9,7 @@ import SessionUtilitiesKit
|
|||
public struct ProfileManager {
|
||||
// The max bytes for a user's profile name, encoded in UTF8.
|
||||
// Before encrypting and submitting we NULL pad the name data to this length.
|
||||
private static let nameDataLength: UInt = 26
|
||||
private static let nameDataLength: UInt = 64
|
||||
public static let maxAvatarDiameter: CGFloat = 640
|
||||
|
||||
private static var profileAvatarCache: Atomic<[String: Data]> = Atomic([:])
|
||||
|
|
Loading…
Reference in New Issue