Update spam reporting token JSON field name.

This commit is contained in:
Chris Eager
2023-02-23 15:27:14 -06:00
committed by GitHub
parent d3c3986100
commit ae3ff21689
2 changed files with 5 additions and 5 deletions

View File

@@ -217,7 +217,7 @@ public class SignalServiceMessageReceiver {
entity.getDestinationUuid(),
entity.isUrgent(),
entity.isStory(),
entity.getReportingToken());
entity.getReportSpamToken());
} else {
envelope = new SignalServiceEnvelope(entity.getType(),
entity.getTimestamp(),
@@ -228,7 +228,7 @@ public class SignalServiceMessageReceiver {
entity.getDestinationUuid(),
entity.isUrgent(),
entity.isStory(),
entity.getReportingToken());
entity.getReportSpamToken());
}
callback.onMessage(envelope);

View File

@@ -44,7 +44,7 @@ public class SignalServiceEnvelopeEntity {
private Boolean story;
@JsonProperty
private byte[] reportingToken;
private byte[] reportSpamToken;
public SignalServiceEnvelopeEntity() {}
@@ -104,7 +104,7 @@ public class SignalServiceEnvelopeEntity {
return story != null && story;
}
public byte[] getReportingToken() {
return reportingToken;
public byte[] getReportSpamToken() {
return reportSpamToken;
}
}