Properly set the isRecipientUpdate flag on story sends.

This commit is contained in:
Greyson Parrelli
2022-08-01 09:56:46 -04:00
parent 855d74bbbf
commit 92201dcd90
2 changed files with 19 additions and 10 deletions

View File

@@ -636,7 +636,7 @@ public final class GroupSendUtil {
boolean isRecipientUpdate)
throws NoSessionException, UntrustedIdentityException, InvalidKeyException, IOException, InvalidRegistrationIdException
{
return messageSender.sendGroupStory(distributionId, Optional.ofNullable(groupId).map(GroupId::getDecodedId), targets, access, message, getSentTimestamp(), manifest);
return messageSender.sendGroupStory(distributionId, Optional.ofNullable(groupId).map(GroupId::getDecodedId), targets, access, isRecipientUpdate, message, getSentTimestamp(), manifest);
}
@Override
@@ -648,7 +648,7 @@ public final class GroupSendUtil {
@Nullable CancelationSignal cancelationSignal)
throws IOException, UntrustedIdentityException
{
return messageSender.sendStory(targets, access, message, getSentTimestamp(), manifest);
return messageSender.sendStory(targets, access, isRecipientUpdate, message, getSentTimestamp(), manifest);
}
@Override