mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Implement replying to stories
This commit is contained in:
parent
fea19c9e20
commit
5ed9db4f08
8 changed files with 54 additions and 6 deletions
|
@ -218,7 +218,8 @@ public class DbusSignalImpl implements Signal {
|
|||
List.of(),
|
||||
Optional.empty(),
|
||||
Optional.empty(),
|
||||
List.of()),
|
||||
List.of(),
|
||||
Optional.empty()),
|
||||
getSingleRecipientIdentifiers(recipients, m.getSelfNumber()).stream()
|
||||
.map(RecipientIdentifier.class::cast)
|
||||
.collect(Collectors.toSet()));
|
||||
|
@ -386,7 +387,8 @@ public class DbusSignalImpl implements Signal {
|
|||
List.of(),
|
||||
Optional.empty(),
|
||||
Optional.empty(),
|
||||
List.of()), Set.of(RecipientIdentifier.NoteToSelf.INSTANCE));
|
||||
List.of(),
|
||||
Optional.empty()), Set.of(RecipientIdentifier.NoteToSelf.INSTANCE));
|
||||
checkSendMessageResults(results);
|
||||
return results.timestamp();
|
||||
} catch (AttachmentInvalidException e) {
|
||||
|
@ -428,7 +430,8 @@ public class DbusSignalImpl implements Signal {
|
|||
List.of(),
|
||||
Optional.empty(),
|
||||
Optional.empty(),
|
||||
List.of()), Set.of(getGroupRecipientIdentifier(groupId)));
|
||||
List.of(),
|
||||
Optional.empty()), Set.of(getGroupRecipientIdentifier(groupId)));
|
||||
checkSendMessageResults(results);
|
||||
return results.timestamp();
|
||||
} catch (IOException | InvalidStickerException e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue