View Single Post
Posts: 207 | Thanked: 482 times | Joined on Mar 2016
#393
Originally Posted by ruff View Post
Another way would be using telepathy.
Still itching regarding canned messages.

So basically to confirm - telepathy works and works as I described (leaving sent message in comhistory)

Code:
[nemo@Jolla ~]$ gdbus call -e -o /org/freedesktop/Telepathy/ChannelDispatcher -d org.freedesktop.Telepathy.ChannelDispatcher -m org.freedesktop.Telepathy.ChannelDispatcher.Interface.Messages.DRAFT.SendMessage /org/freedesktop/Telepathy/Account/gabble/jabber/google_2dtalk_6 dev.null@gmail.com "[{ 'message-type': <0> }, { 'content': <'Aye'>, 'content-type': <'text/plain'> }]" 0
('ff7619fa-2153-4bb6-af4d-83bff89a8281',)
[nemo@Jolla ~]$
both elements - gabble/jabber/google_2dtalk_6 & dev.null@gmail.com are part of notification, so are available in platform stashed notification for canned reply.
Now just need to compile that alltogether
 

The Following 2 Users Say Thank You to ruff For This Useful Post: