Pings can now display custom messages
Probably pings should be disabled by default, could be a source of spam.
This commit is contained in:
parent
87141a344c
commit
ff0591aecc
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ bool PingPlugin::receivePackage(const NetworkPackage& np)
|
|||
notification->setPixmap(KIcon("dialog-ok").pixmap(48, 48));
|
||||
notification->setComponentData(KComponentData("kdeconnect", "kdeconnect"));
|
||||
notification->setTitle(device()->name());
|
||||
notification->setText("Ping!");
|
||||
notification->setText(np->get<QString>("message","Ping!"));
|
||||
notification->sendEvent();
|
||||
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue