mirror of
https://github.com/aljazceru/signal-cli.git
synced 2026-01-15 11:54:19 +01:00
Update libsignal-service-java
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user