mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-26 04:38:03 +00:00
Handle empty group change byte array.
This commit is contained in:

committed by
Greyson Parrelli

parent
3c069fb588
commit
a4dc340bbc
@@ -930,7 +930,7 @@ public final class SignalServiceContent {
|
|||||||
throw new ProtocolInvalidMessageException(new InvalidMessageException(e), null, 0);
|
throw new ProtocolInvalidMessageException(new InvalidMessageException(e), null, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (groupV2.hasGroupChange()) {
|
if (groupV2.hasGroupChange() && !groupV2.getGroupChange().isEmpty()) {
|
||||||
builder.withSignedGroupChange(groupV2.getGroupChange().toByteArray());
|
builder.withSignedGroupChange(groupV2.getGroupChange().toByteArray());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user