Skip to content

Commit 74e0cb0

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 23669c3 commit 74e0cb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/org/thoughtcrime/securesms/profiles/edit/CreateProfileFragment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
public class CreateProfileFragment extends LoggingFragment {
6363

6464
private static final String TAG = Log.tag(CreateProfileFragment.class);
65-
private static final int MAX_DESCRIPTION_GLYPHS = 480;
66-
private static final int MAX_DESCRIPTION_BYTES = 8192;
65+
private static final int MAX_DESCRIPTION_GLYPHS = 3840;
66+
private static final int MAX_DESCRIPTION_BYTES = 65536;
6767

6868
private Intent nextIntent;
6969

0 commit comments

Comments
 (0)