mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-28 18:10:38 +00:00
parent
c924d5c03a
commit
7c7fc76a64
8 changed files with 21 additions and 0 deletions
|
@ -6,6 +6,7 @@ import java.util.Optional;
|
|||
public record Message(
|
||||
String messageText,
|
||||
List<String> attachments,
|
||||
boolean viewOnce,
|
||||
List<Mention> mentions,
|
||||
Optional<Quote> quote,
|
||||
Optional<Sticker> sticker,
|
||||
|
|
|
@ -810,6 +810,7 @@ public class ManagerImpl implements Manager {
|
|||
} else if (!additionalAttachments.isEmpty()) {
|
||||
messageBuilder.withAttachments(additionalAttachments);
|
||||
}
|
||||
messageBuilder.withViewOnce(message.viewOnce());
|
||||
if (!message.mentions().isEmpty()) {
|
||||
messageBuilder.withMentions(resolveMentions(message.mentions()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue