mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-26 10:08:07 +01:00
Update TextSecure envelope protobuf.
Support envelope 'content' field. // FREEBIE
This commit is contained in:
@@ -34,9 +34,11 @@ public class IncomingMessage {
|
||||
private int destinationRegistrationId;
|
||||
|
||||
@JsonProperty
|
||||
@NotEmpty
|
||||
private String body;
|
||||
|
||||
@JsonProperty
|
||||
private String content;
|
||||
|
||||
@JsonProperty
|
||||
private String relay;
|
||||
|
||||
@@ -67,4 +69,8 @@ public class IncomingMessage {
|
||||
public int getDestinationRegistrationId() {
|
||||
return destinationRegistrationId;
|
||||
}
|
||||
|
||||
public String getContent() {
|
||||
return content;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user