diff --git a/src/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java b/src/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java --- a/src/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java +++ b/src/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java @@ -194,14 +194,13 @@ return; } - NetworkPacket np = new NetworkPacket(PACKET_TYPE_NOTIFICATION); - - if (packageName.equals("org.kde.kdeconnect_tp")) { - //Make our own notifications silent :) - np.set("silent", true); - np.set("requestAnswer", true); //For compatibility with old desktop versions of KDE Connect that don't support "silent" + if ("org.kde.kdeconnect_tp".equals(packageName)) { + // Don't send our own notifications + return; } + NetworkPacket np = new NetworkPacket(PACKET_TYPE_NOTIFICATION); + boolean isUpdate = currentNotifications.contains(key); if (!isUpdate) { //If it's an update, the other end should have the icon already: no need to extract it and create the payload again