mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Convert RecipientIdentifier to record
This commit is contained in:
parent
31dec5a666
commit
b615a4b04d
3 changed files with 15 additions and 82 deletions
|
@ -582,7 +582,7 @@ public class DbusManagerImpl implements Manager {
|
|||
final var groupRecipients = recipients.stream()
|
||||
.filter(r -> r instanceof RecipientIdentifier.Group)
|
||||
.map(RecipientIdentifier.Group.class::cast)
|
||||
.map(g -> g.groupId)
|
||||
.map(RecipientIdentifier.Group::groupId)
|
||||
.collect(Collectors.toList());
|
||||
for (final var groupId : groupRecipients) {
|
||||
timestamp = groupHandler.apply(groupId.serialize());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue