<div dir="ltr"><div>> The CM setPresence() implementation (probably via a special library) sends network packages<br>
to inform remotes about the new presence<br><br></div>I was looking for this special library at resiprocate but couldn't find it. So I was wondering if there is a way to send this network packages to inform remotes only using telepathy d-bus interface.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-06 2:52 GMT-03:00 Alexandr Akulich <span dir="ltr"><<a href="mailto:akulichalexander@gmail.com" target="_blank">akulichalexander@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mateus,<br>
<span class=""><br>
On Mon, Jun 6, 2016 at 1:45 AM, Mateus Bellomo <<a href="mailto:mateusbellomo@gmail.com">mateusbellomo@gmail.com</a>> wrote:<br>
> I've implemented both setPresence() and getPresences() methods, but<br>
> I didn't see there any methods so the user could send his status info to his contacts.<br>
<br>
</span>setPresence() accepts string:Status and string:StatusMessage and<br>
designed to send the passed info to contacts.<br>
<br>
See [1] and [2]. Local user set presence in the UI (Empathy,<br>
KDE-Telepathy, ...). The UI calls setPresence(). The CM setPresence()<br>
implementation (probably via a special library) sends network packages<br>
to inform remotes about the new presence. Morse calls<br>
CTelegramCore::setOnlineStatus() of the TelegramQt backend library;<br>
Nonsense calls QXmppClient::setClientPresence() of the QXmpp backend<br>
library.<br>
<br>
[1] <a href="https://github.com/TelepathyQt/telepathy-nonsense/blob/master/connection.cc#L347" rel="noreferrer" target="_blank">https://github.com/TelepathyQt/telepathy-nonsense/blob/master/connection.cc#L347</a><br>
[2] <a href="https://github.com/TelepathyQt/telepathy-morse/blob/master/connection.cpp#L655" rel="noreferrer" target="_blank">https://github.com/TelepathyQt/telepathy-morse/blob/master/connection.cpp#L655</a><br>
</blockquote></div><br></div>