e4cbf22519
This sends recieved text messages to any Telepathy client and allows the user to respond from there. This should work with both our clients and Empathy. An account on telepathy is created on activation. As Telepathy clients expect backends to be always running, this is started by the daemon to suppress client errors. The plugin system then talks to the same CM via use of a singleton accessor. Based on work by Alexandr Akulich then tidied up and rebased. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
kdeconnect_telephony.json | ||
README | ||
sendsmsdialog.cpp | ||
sendsmsdialog.h | ||
telephonyplugin.cpp | ||
telephonyplugin.h |
This plugin will display a notification each time a package with type "kdeconnect.telephony" is received. The type of notification will change depending on the contents of the field "event" (string). Valid contents for "event" are: "ringing", "talking", "missedCall" and "sms". Note that "talking" is just ignored in this implementation, while the others will display a system notification. If the incoming package contains a "phoneNumber" string field, the notification will also display it. Note that "phoneNumber" can be a contact name instead of an actual phone number. If the incoming package contains "isCancel" set to true, the package is ignored.