From e3e4fc655233b4989b7390ff5f2934e77992d3a7 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Tue, 17 Sep 2019 09:43:03 +0000 Subject: [PATCH] Don't sync notification on connection --- .../Plugins/NotificationsPlugin/NotificationsPlugin.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java b/src/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java index 12d155c2..ba7e5262 100644 --- a/src/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java @@ -139,10 +139,6 @@ public class NotificationsPlugin extends Plugin implements NotificationReceiver. service.addListener(NotificationsPlugin.this); serviceReady = service.isConnected(); - - if (serviceReady) { - sendCurrentNotifications(service); - } }); return true; @@ -157,7 +153,6 @@ public class NotificationsPlugin extends Plugin implements NotificationReceiver. @Override public void onListenerConnected(NotificationReceiver service) { serviceReady = true; - sendCurrentNotifications(service); } @Override