Skip to content

Commit 63b9700

Browse files
committed
Fix group sync message sent bug.
1 parent d309877 commit 63b9700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/thoughtcrime/securesms/messages/GroupSendUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ private static List<SendMessageResult> sendMessage(@NonNull Context context,
471471
List<SignalServiceAddress> legacyTargetAddresses = legacyTargets.stream().map(r -> recipients.getAddress(r.getId())).collect(Collectors.toList());
472472
List<UnidentifiedAccess> legacyTargetAccesses = legacyTargets.stream().map(r -> recipients.getAccess(r.getId())).collect(Collectors.toList());
473473
List<GroupSendFullToken> groupSendTokens = null;
474-
boolean recipientUpdate = isRecipientUpdate || allResults.isEmpty();
474+
boolean recipientUpdate = isRecipientUpdate || allResults.size() > 0;
475475

476476
if (useGroupSendEndorsements) {
477477
Instant expiration = Instant.ofEpochMilli(groupSendEndorsementExpiration);

0 commit comments

Comments
 (0)