<div dir="ltr"><br><div><div class="gmail_quote"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Thu, Sep 10, 2015 at 11:28 PM, dolo how <span dir="ltr"><<a href="mailto:dolohow@outlook.com" target="_blank">dolohow@outlook.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>> If it appeared in Telepathy then it shouldn't appear in a notification as<br>
> the IM client will be supplying their own notifiation with their own reply<br>
> button. Users shouldn't get two.<br>
</span>I got your point.<br>
<span><br>
> If Telepathy isn't avaiable, due to it not being compiled in or failing to<br>
> run properly, then it should use the notification with the reply button. I<br>
> think the code is doing that?<br>
</span>I might be wrong, because I am not expert, but HAVE_TELEPATHY is begin<br>
evaluated at compile time, </blockquote><div><br></div></span><div>Yep, that's right<br></div><span class=""><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">therefore how can it check if Telepathy is running or<br>
not?<br></blockquote><div><br></div></span><div>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.<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div></font></span></div><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div class="gmail_extra">David<br></div></font></span></div>
</div><br></div></div>