- static JsonSyncMessage from(SignalServiceSyncMessage syncMessage, Manager m) {
- final var sentMessage = syncMessage.getSent().isPresent() ? JsonSyncDataMessage.from(syncMessage.getSent()
- .get(), m) : null;
+ static JsonSyncMessage from(MessageEnvelope.Sync syncMessage) {
+ final var sentMessage = syncMessage.sent().isPresent()
+ ? JsonSyncDataMessage.from(syncMessage.sent().get())
+ : null;