Skip to content

Commit 6232ee7

Browse files
author
isopod-a
committed
increase maximum description lenght in UI
In the UI input, the number of glyphs is currently limited to 480 (with 8k max bytes). For larger groups with guidelines, more space is needed. This patch increases the number of glyphs and bytes by a factor of eight to 3840 and 65536. Signal community feature request: https://community.signalusers.org/t/expand-the-group-chat-description-or-pin-posts/65179
1 parent 97c162f commit 6232ee7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SignalServiceKit/Groups/GroupManager.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ public class GroupManager: NSObject {
3131
public static let maxGroupNameEncryptedByteCount: Int = 1024
3232
public static let maxGroupNameGlyphCount: Int = 32
3333

34-
public static let maxGroupDescriptionEncryptedByteCount: Int = 8192
35-
public static let maxGroupDescriptionGlyphCount: Int = 480
34+
public static let maxGroupDescriptionEncryptedByteCount: Int = 65536
35+
public static let maxGroupDescriptionGlyphCount: Int = 3840
3636

3737
// Epoch 1: Group Links
3838
// Epoch 2: Group Description

0 commit comments

Comments
 (0)