Do not forward kdeconnect notifications
This commit is contained in:
parent
c8c2fd9bd5
commit
ed7758f996
1 changed files with 5 additions and 0 deletions
|
@ -368,6 +368,11 @@ void NotificationsListener::onNotify(const QString &appName,
|
|||
// qCDebug(KDECONNECT_PLUGIN_SENDNOTIFICATIONS) << "Got notification appName=" << appName << "replacesId=" << replacesId
|
||||
// << "appIcon=" << appIcon << "summary=" << summary << "body=" << body << "actions=" << actions << "hints=" << hints << "timeout=" << timeout;
|
||||
|
||||
if (appName == QStringLiteral("KDE Connect")) {
|
||||
qCDebug(KDECONNECT_PLUGIN_SENDNOTIFICATIONS) << "Ignoring my own notification";
|
||||
return;
|
||||
}
|
||||
|
||||
auto *config = m_plugin->config();
|
||||
|
||||
NotifyingApplication app;
|
||||
|
|
Loading…
Reference in a new issue