From f15fb904bfc8d36a736195e9616c707281e6fb26 Mon Sep 17 00:00:00 2001 From: Greyson Parrelli Date: Mon, 29 Oct 2018 12:59:42 -0700 Subject: [PATCH] Fix desktop double notification bug. There were situations where we were posting two notifications for messages when you had an 'active desktop'. This removes that. --- .../thoughtcrime/securesms/notifications/MessageNotifier.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java b/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java index e6cc3f0b13..78aa430380 100644 --- a/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java +++ b/src/org/thoughtcrime/securesms/notifications/MessageNotifier.java @@ -531,8 +531,6 @@ public class MessageNotifier { @Override public void run() { - MessageNotifier.updateNotification(context); - long delayMillis = delayUntil - System.currentTimeMillis(); Log.i(TAG, "Waiting to notify: " + delayMillis);