<div dir="ltr"><div>I'm looking the link you gave and it seems it would be better to create another layer to include line 97-120 right?<br><br></div>Because if we want to maintain the Connection.cxx code as clean as possible and make the function calls like [1] or [2] it would be necessary to implement a method setClientPresence() that includes lines 97-120.<br><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></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-07 8:45 GMT-03:00 Daniel Pocock <span dir="ltr"><<a href="mailto:daniel@pocock.pro" target="_blank">daniel@pocock.pro</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><span class="">
<div>On 07/06/16 03:46, Mateus Bellomo
wrote:<br>
</div>
<blockquote type="cite">
<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>
</blockquote>
<br></span>
Look for the DUM method makePublication and examples of code that
use it<br>
<br>
Here is one example:<br>
<br>
<a href="https://github.com/resiprocate/resiprocate/blob/master/resip/dum/test/basicPublication.cxx" target="_blank">https://github.com/resiprocate/resiprocate/blob/master/resip/dum/test/basicPublication.cxx</a><br>
<br>
You probably want to look for any code that refers to <span>ClientPublication.hxx<span> for more
examples<br>
<br>
<br>
</span></span>
</div>
<br>_______________________________________________<br>
telepathy mailing list<br>
<a href="mailto:telepathy@lists.freedesktop.org">telepathy@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/telepathy" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/telepathy</a><br>
<br></blockquote></div><br></div>