mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-30 02:50:39 +00:00
15 lines
479 B
Java
15 lines
479 B
Java
package org.asamk.signal;
|
|
|
|
import org.whispersystems.signalservice.api.messages.multidevice.SentTranscriptMessage;
|
|
|
|
class JsonSyncDataMessage extends JsonDataMessage {
|
|
|
|
String destination;
|
|
|
|
JsonSyncDataMessage(SentTranscriptMessage transcriptMessage) {
|
|
super(transcriptMessage.getMessage());
|
|
if (transcriptMessage.getDestination().isPresent()) {
|
|
this.destination = transcriptMessage.getDestination().get().getNumber().get();
|
|
}
|
|
}
|
|
}
|