Fix unable to verify signed group change warning.

This commit is contained in:
Cody Henthorne
2023-04-21 12:36:52 -04:00
parent 8baf07a11c
commit f14bce9849
2 changed files with 4 additions and 3 deletions

View File

@@ -808,7 +808,7 @@ final class GroupManagerV2 {
}
private DecryptedGroupChange getDecryptedGroupChange(@Nullable byte[] signedGroupChange) {
if (signedGroupChange != null) {
if (signedGroupChange != null && signedGroupChange.length > 0) {
GroupsV2Operations.GroupOperations groupOperations = groupsV2Operations.forGroup(GroupSecretParams.deriveFromMasterKey(groupMasterKey));
try {