[Telepathy] send local user status
Mateus Bellomo
mateusbellomo at gmail.com
Tue Jun 7 15:05:08 UTC 2016
I'm looking the link you gave and it seems it would be better to create
another layer to include line 97-120 right?
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.
[1]
https://github.com/TelepathyQt/telepathy-nonsense/blob/master/connection.cc#L347
[2]
https://github.com/TelepathyQt/telepathy-morse/blob/master/connection.cpp#L655
2016-06-07 8:45 GMT-03:00 Daniel Pocock <daniel at pocock.pro>:
> On 07/06/16 03:46, Mateus Bellomo wrote:
>
> > The CM setPresence() implementation (probably via a special library)
> sends network packages
> to inform remotes about the new presence
>
> 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.
>
>
> Look for the DUM method makePublication and examples of code that use it
>
> Here is one example:
>
>
> https://github.com/resiprocate/resiprocate/blob/master/resip/dum/test/basicPublication.cxx
>
> You probably want to look for any code that refers to
> ClientPublication.hxx for more examples
>
>
>
> _______________________________________________
> telepathy mailing list
> telepathy at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/telepathy
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/telepathy/attachments/20160607/2ff69693/attachment.html>
More information about the telepathy
mailing list