> 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. 2016-06-06 2:52 GMT-03:00 Alexandr Akulich <[email protected]>: > Hi Mateus, > > On Mon, Jun 6, 2016 at 1:45 AM, Mateus Bellomo <[email protected]> > wrote: > > I've implemented both setPresence() and getPresences() methods, but > > I didn't see there any methods so the user could send his status info to > his contacts. > > setPresence() accepts string:Status and string:StatusMessage and > designed to send the passed info to contacts. > > See [1] and [2]. Local user set presence in the UI (Empathy, > KDE-Telepathy, ...). The UI calls setPresence(). The CM setPresence() > implementation (probably via a special library) sends network packages > to inform remotes about the new presence. Morse calls > CTelegramCore::setOnlineStatus() of the TelegramQt backend library; > Nonsense calls QXmppClient::setClientPresence() of the QXmpp backend > library. > > [1] > https://github.com/TelepathyQt/telepathy-nonsense/blob/master/connection.cc#L347 > [2] > https://github.com/TelepathyQt/telepathy-morse/blob/master/connection.cpp#L655 >
_______________________________________________ telepathy mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/telepathy
