Update spam reporting token JSON field name.

main
Chris Eager 2023-02-23 15:27:14 -06:00 zatwierdzone przez GitHub
rodzic d3c3986100
commit ae3ff21689
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -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);

Wyświetl plik

@ -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;
}
}