Fix content NPE.

fork-5.53.8
Alan Evans 2020-01-10 07:48:06 -05:00
rodzic dbdf9602c2
commit f6685fb9c9
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -158,7 +158,9 @@ public final class PushDecryptMessageJob extends BaseJob {
List<Job> jobs = new ArrayList<>(2);
jobs.add(new PushProcessMessageJob(content.serialize(), messageId, smsMessageId, envelope.getTimestamp()));
if (content != null) {
jobs.add(new PushProcessMessageJob(content.serialize(), messageId, smsMessageId, envelope.getTimestamp()));
}
if (envelope.isPreKeySignalMessage()) {
jobs.add(new RefreshPreKeysJob());