mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 19:10:38 +00:00
Update libsignal-service-java
This commit is contained in:
parent
5837a6982b
commit
a80e18169a
14 changed files with 84 additions and 46 deletions
|
@ -19,10 +19,13 @@ record JsonSyncDataMessage(
|
|||
return new JsonSyncDataMessage(address.getLegacyIdentifier(),
|
||||
address.number().orElse(null),
|
||||
address.uuid().map(UUID::toString).orElse(null),
|
||||
JsonDataMessage.from(transcriptMessage.message()));
|
||||
transcriptMessage.message().map(JsonDataMessage::from).orElse(null));
|
||||
|
||||
} else {
|
||||
return new JsonSyncDataMessage(null, null, null, JsonDataMessage.from(transcriptMessage.message()));
|
||||
return new JsonSyncDataMessage(null,
|
||||
null,
|
||||
null,
|
||||
transcriptMessage.message().map(JsonDataMessage::from).orElse(null));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue