mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-26 20:53:17 +01:00
Include device source and destination
This commit is contained in:
@@ -28,6 +28,9 @@ public class IncomingMessage {
|
||||
@NotEmpty
|
||||
private String destination;
|
||||
|
||||
@JsonProperty
|
||||
private long destinationDeviceId = 1;
|
||||
|
||||
@JsonProperty
|
||||
@NotEmpty
|
||||
private String body;
|
||||
@@ -38,9 +41,6 @@ public class IncomingMessage {
|
||||
@JsonProperty
|
||||
private long timestamp;
|
||||
|
||||
@JsonProperty
|
||||
private long destinationDeviceId = 1;
|
||||
|
||||
public String getDestination() {
|
||||
return destination;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user