kopia lustrzana https://github.com/ryukoposting/Signal-Android
Validate that reporting token is non-null and non-empty.
rodzic
316df00287
commit
3ebafca297
|
@ -119,7 +119,7 @@ public final class PushDecryptMessageJob extends BaseJob {
|
|||
Log.w(TAG, "Ignoring PNI signature because the feature flag is disabled!");
|
||||
}
|
||||
|
||||
if (envelope.hasReportingToken()) {
|
||||
if (envelope.hasReportingToken() && envelope.getReportingToken() != null && envelope.getReportingToken().length > 0) {
|
||||
SignalDatabase.recipients().setReportingToken(RecipientId.from(result.getContent().getSender()), envelope.getReportingToken());
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue