mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-16 20:59:54 +01:00
Remove content-type and parentId from private messages
and turn them into a regular string.
This commit is contained in:
@@ -104,7 +104,7 @@ public class StringUtils {
|
||||
/**
|
||||
* Returns true if the string is longer than maxLength
|
||||
*/
|
||||
public static boolean isTooLong(String s, int maxLength) {
|
||||
public static boolean utf8IsTooLong(String s, int maxLength) {
|
||||
return toUtf8(s).length > maxLength;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user