Skip to content

Commit f389fd4

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 9cd2838 commit f389fd4

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
@@ -60,8 +60,8 @@
6060
public class CreateProfileFragment extends LoggingFragment {
6161

6262
private static final String TAG = Log.tag(CreateProfileFragment.class);
63-
private static final int MAX_DESCRIPTION_GLYPHS = 480;
64-
private static final int MAX_DESCRIPTION_BYTES = 8192;
63+
private static final int MAX_DESCRIPTION_GLYPHS = 3840;
64+
private static final int MAX_DESCRIPTION_BYTES = 65536;
6565

6666
private Intent nextIntent;
6767

0 commit comments

Comments
 (0)