[Telepathy] A query regarding Presences-update

Ajay Garg ajaygargnsit at gmail.com
Mon Jun 18 06:12:49 PDT 2012


Hi Simon.

Thanks for the reply.

On Mon, Jun 18, 2012 at 7:50 AM, Simon McVittie <
simon.mcvittie at collabora.co.uk> wrote:

> On 17/06/12 09:41, Ajay Garg wrote:
> > When a contact disconnects (from the telepathy network), the callback
> > function --- specified for the signal
> >
> http://telepathy.freedesktop.org/spec/Connection_Interface_Contact_List.html#Signal:ContactsChangedWithID
> > --- is NOT hit.
> >
> > Are you sure that this is intended to work
>
> Yes. If it doesn't, that's a bug in telepathy-salut (or possibly
> telepathy-glib).
>
> What version of telepathy-glib do you have?
>


For brevity, I am listing all the telepathy packages ::

#######################################################################
[ajay at localhost ~]$ rpm -qa | grep -i telepathy


telepathy-haze-0.6.0-1.fc17.i686
telepathy-idle-0.1.11-2.fc17.i686
telepathy-logger-0.4.0-2.fc17.i686
python-telepathy-0.15.19-4.fc17.noarch
telepathy-farstream-0.4.0-2.fc17.i686
telepathy-filesystem-0.0.2-3.fc17.noarch
telepathy-mission-control-5.12.0-1.fc17.i686
telepathy-glib-0.18.0-1.fc17.i686
telepathy-salut-0.8.0-1.fc17.i686
telepathy-gabble-0.16.0-1.fc17.i686
#######################################################################





>
> If you connect to the deprecated ContactsChanged signal instead, does
> that one work? (It's older, so old tp-glib versions will have that but
> not the newer version.)
>

It did not work.

One thing I notice is that both - 'ContactChanged' and
'ContactsChangedWithID' - callbacks are hit when the buddy comes online,
but are NOT hit when the same buddy goes offline (by disconnecting from the
telepathy-salut wifi network).

So, I guess I am using the code properly at least, in case of both
'ContactsChanged' and 'ContactsChangedWithID'.

Please let me know if I may try anything else.









>
> > (that is without using the
> > experimental, unstable
> >
> http://telepathy.freedesktop.org/spec/Connection_Interface_Keepalive.html)
> ?
>
> KeepAlive is not relevant to telepathy-salut: it's about whether/how to
> keep the connection to a server alive, and in Salut there is no server.
>


Thanks a ton !!!
That narrows down the things to look for :D



Thanks and Regards,
Ajay







>
>    S
> _______________________________________________
> telepathy mailing list
> telepathy at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/telepathy
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/telepathy/attachments/20120618/4e88874a/attachment.html>


More information about the telepathy mailing list