mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 18:40:39 +00:00
Update libsignal
This commit is contained in:
parent
b4311c7b76
commit
644aacf595
9 changed files with 72 additions and 46 deletions
|
@ -318,6 +318,9 @@ public class ReceiveMessageHandler implements Manager.ReceiveMessageHandler {
|
|||
if (receiptMessage.isReadReceipt()) {
|
||||
System.out.println(" - Is read receipt");
|
||||
}
|
||||
if (receiptMessage.isViewedReceipt()) {
|
||||
System.out.println(" - Is viewed receipt");
|
||||
}
|
||||
System.out.println(" - Timestamps:");
|
||||
for (long timestamp : receiptMessage.getTimestamps()) {
|
||||
System.out.println(" " + DateUtils.formatTimestamp(timestamp));
|
||||
|
@ -397,6 +400,11 @@ public class ReceiveMessageHandler implements Manager.ReceiveMessageHandler {
|
|||
System.out.println(" Has signed group change: " + groupInfo.hasSignedGroupChange());
|
||||
}
|
||||
}
|
||||
if (message.getGroupCallUpdate().isPresent()) {
|
||||
final SignalServiceDataMessage.GroupCallUpdate groupCallUpdate = message.getGroupCallUpdate().get();
|
||||
System.out.println("Group call update:");
|
||||
System.out.println(" - Era id: " + groupCallUpdate.getEraId());
|
||||
}
|
||||
if (message.getPreviews().isPresent()) {
|
||||
final List<SignalServiceDataMessage.Preview> previews = message.getPreviews().get();
|
||||
System.out.println("Previews:");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue