X-Git-Url: https://git.nmode.ca/signal-cli/blobdiff_plain/8717665d1d273a32afef136c15c0d5abaaae0f85..958d10fcd1c92e92dc6f1a0493150c9cbfda190d:/src/main/java/org/asamk/signal/JsonSyncMessage.java diff --git a/src/main/java/org/asamk/signal/JsonSyncMessage.java b/src/main/java/org/asamk/signal/JsonSyncMessage.java index 92ad1cc5..6b597c87 100644 --- a/src/main/java/org/asamk/signal/JsonSyncMessage.java +++ b/src/main/java/org/asamk/signal/JsonSyncMessage.java @@ -6,13 +6,14 @@ import org.whispersystems.signalservice.api.messages.multidevice.SignalServiceSy import java.util.List; class JsonSyncMessage { - JsonDataMessage sentMessage; + + JsonSyncDataMessage sentMessage; List blockedNumbers; List readMessages; JsonSyncMessage(SignalServiceSyncMessage syncMessage) { if (syncMessage.getSent().isPresent()) { - this.sentMessage = new JsonDataMessage(syncMessage.getSent().get().getMessage()); + this.sentMessage = new JsonSyncDataMessage(syncMessage.getSent().get()); } if (syncMessage.getBlockedList().isPresent()) { this.blockedNumbers = syncMessage.getBlockedList().get().getNumbers();