e5b6c147d8
Summary: Previously, incoming messages were appened to a QList. This list was accidentally sorted because that's how Android returned them, but new messages were appended to the wrong end of the list. This patch specifically and intentionally sorts messages so new ones become visible Test Plan: - Open SMS GUI, verify that the most-recent messages are shown - Either send or recieve an SMS - Wait about 5s (I do not know why this is necessary. Probably some Android weirdness) - De-select the current conversation, then re-select it - TODO: Make the app automatically respond to new messages - The newly sent or recieved message should be shown in the most-recent position Reviewers: apol Reviewed By: apol Subscribers: apol, nicolasfella, kdeconnect Tags: #kde_connect Differential Revision: https://phabricator.kde.org/D15108 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
conversationsdbusinterface.cpp | ||
conversationsdbusinterface.h | ||
kdeconnect_telephony.json | ||
README | ||
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.