Send recipients when sending group story sync.
This commit is contained in:
parent
831d099503
commit
0eda714755
1 changed files with 10 additions and 1 deletions
|
@ -65,6 +65,7 @@ import java.util.Set;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
import java.util.concurrent.atomic.AtomicLong;
|
import java.util.concurrent.atomic.AtomicLong;
|
||||||
import java.util.stream.Collectors;
|
import java.util.stream.Collectors;
|
||||||
|
import java.util.stream.Stream;
|
||||||
|
|
||||||
public final class GroupSendUtil {
|
public final class GroupSendUtil {
|
||||||
|
|
||||||
|
@ -212,7 +213,15 @@ public final class GroupSendUtil {
|
||||||
allTargets,
|
allTargets,
|
||||||
isRecipientUpdate,
|
isRecipientUpdate,
|
||||||
true,
|
true,
|
||||||
new StorySendOperation(messageId, groupId, sentTimestamp, message, Collections.emptySet()),
|
new StorySendOperation(messageId,
|
||||||
|
groupId,
|
||||||
|
sentTimestamp,
|
||||||
|
message,
|
||||||
|
allTargets.stream()
|
||||||
|
.map(target -> new SignalServiceStoryMessageRecipient(new SignalServiceAddress(target.requireServiceId()),
|
||||||
|
Collections.emptyList(),
|
||||||
|
true))
|
||||||
|
.collect(Collectors.toSet())),
|
||||||
null);
|
null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue