Given three devices with kdeconnect (e.g. phones A,B, and Desktop D), one can get duplicate notifications on a single device: Say D is telling via MPRIS which music it is playing, then both phones A and B show a notification about that due to the mpris module. However, this notification gets mirrored to the respective other phone via the send/receive notifications module. I therefore suggest that the "send notifications" module recognizes notifications which have been generated by kdeconnect itself, and doesn't advertise them to the remote receiver. Related to https://bugs.kde.org/show_bug.cgi?id=402488
Git commit 501af459419aa55fcec864544e1a15e185309530 by Nicolas Fella. Committed on 24/12/2018 at 21:35. Pushed by nicolasfella into branch 'master'. Don't send our own notifications Summary: They were silent anyway and are not really useful Test Plan: I don't see the MPRIS notification in the plasmoid any more Reviewers: #kde_connect, albertvaka Reviewed By: #kde_connect, albertvaka Subscribers: kdeconnect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D17776 M +5 -6 src/org/kde/kdeconnect/Plugins/NotificationsPlugin/NotificationsPlugin.java https://commits.kde.org/kdeconnect-android/501af459419aa55fcec864544e1a15e185309530