Fwd: Telepathy along with telephony plugin

David Edmundson david at davidedmundson.co.uk
Fri Sep 11 10:33:51 UTC 2015


On Thu, Sep 10, 2015 at 11:28 PM, dolo how <dolohow at outlook.com> wrote:

> > If it appeared in Telepathy then it shouldn't appear in a notification as
> > the IM client will be supplying their own notifiation with their own
> reply
> > button. Users shouldn't get two.
> I got your point.
>
> > If Telepathy isn't avaiable, due to it not being compiled in or failing
> to
> > run properly, then it should use the notification with the reply button.
> I
> > think the code is doing that?
> I might be wrong, because I am not expert, but HAVE_TELEPATHY is begin
> evaluated at compile time,


Yep, that's right


> therefore how can it check if Telepathy is running or
> not?
>

That's why I have the second if statement round the
m_telepathyInterface->sendMessage. That internally checks if it was able to
register a new channel with the telepathy central daemon. If that fails
then it falls back.


David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20150911/d5332e0e/attachment.html>


More information about the KDEConnect mailing list