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
|
@ -141,9 +141,12 @@ public class ReceiveMessageHandler implements Manager.ReceiveMessageHandler {
|
|||
if (message.expiresInSeconds() > 0) {
|
||||
writer.println("Expires in: {} seconds", message.expiresInSeconds());
|
||||
}
|
||||
if (message.hasProfileKey()) {
|
||||
if (message.isProfileKeyUpdate()) {
|
||||
writer.println("Profile key update");
|
||||
}
|
||||
if (message.hasProfileKey()) {
|
||||
writer.println("With profile key");
|
||||
}
|
||||
if (message.reaction().isPresent()) {
|
||||
writer.println("Reaction:");
|
||||
final var reaction = message.reaction().get();
|
||||
|
|
|
@ -757,6 +757,7 @@ public class DbusManagerImpl implements Manager {
|
|||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
Optional.empty(),
|
||||
Optional.empty(),
|
||||
Optional.empty(),
|
||||
|
@ -827,6 +828,7 @@ public class DbusManagerImpl implements Manager {
|
|||
false,
|
||||
false,
|
||||
false,
|
||||
false,
|
||||
Optional.empty(),
|
||||
Optional.empty(),
|
||||
Optional.empty(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue