mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Improve output for profile key update messages
This commit is contained in:
parent
adce64bc21
commit
abebffb2cd
3 changed files with 8 additions and 1 deletions
|
@ -100,6 +100,7 @@ public record MessageEnvelope(
|
|||
boolean isExpirationUpdate,
|
||||
boolean isViewOnce,
|
||||
boolean isEndSession,
|
||||
boolean isProfileKeyUpdate,
|
||||
boolean hasProfileKey,
|
||||
Optional<Reaction> reaction,
|
||||
Optional<Quote> quote,
|
||||
|
@ -126,6 +127,7 @@ public record MessageEnvelope(
|
|||
dataMessage.isExpirationUpdate(),
|
||||
dataMessage.isViewOnce(),
|
||||
dataMessage.isEndSession(),
|
||||
dataMessage.isProfileKeyUpdate(),
|
||||
dataMessage.getProfileKey().isPresent(),
|
||||
dataMessage.getReaction().map(r -> Reaction.from(r, recipientResolver, addressResolver)),
|
||||
dataMessage.getQuote().map(q -> Quote.from(q, recipientResolver, addressResolver, fileProvider)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue