[KDE Connect] Start New Conversation in Messaging App
KDE Connect is an open-source application which provides integration for your phone and your desktop, such as allowing you to use your phone as a wireless trackpad and presentation remote, or for replying to incoming text messages from your computer.
This task works on the KDE Connect messaging app, which looks like: https://imgur.com/a/W1scul0
It is currently only possible to use the messaging app to send a message to a conversation which already exists. It would be great to be able to start a conversation with:
- A contact with whom we are not already in a conversation
- An arbitrary phone number
There are many good ways this could be implemented. One idea is to add a new GUI page which shows all contacts and offers a box to enter a phone number. Another idea is to put all contacts into the recent conversations list, even those with whom we have no current conversation, and simply sort contacts with no attached conversation to the bottom.
In any case, if the selected contact already has a conversation, open that conversation. Otherwise, open blank conversation page. The same behavior ought to apply if a phone number is entered which matches an existing contact, but make sure the matched contact isn't a surprise to the user!
Make sure you can build the app first. Here is a task for it: https://codein.withgoogle.com/dashboard/tasks/4772341729984512/
To enable the messaging app, run "cmake -DSMSAPP_ENABLED=True .." then "sudo make install" in the build directory