From a0e23612d43bcfbdb889aec8af35cc2e772b2347 Mon Sep 17 00:00:00 2001 From: Moxie Marlinspike Date: Tue, 20 Jun 2017 10:57:11 -0700 Subject: [PATCH] We need to disable this until push notifications contain more info This could be a sync message, delivery receipt, or some other message that isn't user-visible. The push notification content would need to indicate whether that's the case in order to be able to accurately display a notification // FREEBIE --- .../thoughtcrime/securesms/jobs/PushNotificationReceiveJob.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/thoughtcrime/securesms/jobs/PushNotificationReceiveJob.java b/src/org/thoughtcrime/securesms/jobs/PushNotificationReceiveJob.java index 5a96652c94..e028e44226 100644 --- a/src/org/thoughtcrime/securesms/jobs/PushNotificationReceiveJob.java +++ b/src/org/thoughtcrime/securesms/jobs/PushNotificationReceiveJob.java @@ -51,6 +51,6 @@ public class PushNotificationReceiveJob extends PushReceivedJob implements Injec @Override public void onCanceled() { Log.w(TAG, "***** Failed to download pending message!"); - MessageNotifier.notifyMessagesPending(getContext()); +// MessageNotifier.notifyMessagesPending(getContext()); } }