Prevent leading and trailing whitespace in group names.

This commit is contained in:
Alan Evans
2020-07-23 12:25:37 -03:00
committed by Greyson Parrelli
parent 9c54e39eae
commit ab76112f5f
4 changed files with 97 additions and 12 deletions
@@ -545,7 +545,7 @@ public final class GroupsV2Operations {
}
private String decryptTitle(ByteString cipherText) {
return decryptBlob(cipherText).getTitle();
return decryptBlob(cipherText).getTitle().trim();
}
private int decryptDisappearingMessagesTimer(ByteString encryptedTimerMessage) {