mirror of
https://github.com/AsamK/signal-cli
synced 2025-09-01 20:10:39 +00:00
Update libsignal-service-java
This commit is contained in:
parent
85c5caeaca
commit
8bcd8d87d2
52 changed files with 692 additions and 551 deletions
|
@ -6,8 +6,6 @@ import org.asamk.Signal;
|
|||
import org.asamk.signal.manager.Manager;
|
||||
import org.whispersystems.signalservice.api.messages.multidevice.SentTranscriptMessage;
|
||||
|
||||
import java.util.UUID;
|
||||
|
||||
import static org.asamk.signal.util.Util.getLegacyIdentifier;
|
||||
|
||||
class JsonSyncDataMessage extends JsonDataMessage {
|
||||
|
@ -29,7 +27,7 @@ class JsonSyncDataMessage extends JsonDataMessage {
|
|||
final var address = transcriptMessage.getDestination().get();
|
||||
this.destination = getLegacyIdentifier(address);
|
||||
this.destinationNumber = address.getNumber().orNull();
|
||||
this.destinationUuid = address.getUuid().transform(UUID::toString).orNull();
|
||||
this.destinationUuid = address.getUuid().toString();
|
||||
} else {
|
||||
this.destination = null;
|
||||
this.destinationNumber = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue