[Telepathy] A query regarding Presences-update

Ajay Garg ajaygargnsit at gmail.com
Tue Jul 3 12:08:55 PDT 2012


Hi all.

Just a gentle query ::

Should I take the lack of an answer, as an indicate that the following
use-case IS EXPECTED ::

"""
When a contact disconnects (from the telepathy wifi network), the callback
function --- specified for the signal
http://telepathy.freedesktop.org/spec/Connection_Interface_Contact_List.html#Signal:ContactsChangedWithID
is NOT hit.
"""

I think that this might be expected, since there is no network-medium to
communicate the offline-ness of the buddy.


Thanks and Regards,
Ajay




On Fri, Jun 29, 2012 at 7:56 PM, Ajay Garg <ajaygargnsit at gmail.com> wrote:

> Any ideas, please?
>
> Regards,
> Ajay
>
>
> On Thu, Jun 28, 2012 at 12:04 PM, Ajay Garg <ajaygargnsit at gmail.com>wrote:
>
>> Opened a bug at
>> https://bugs.freedesktop.org/show_bug.cgi?id=51501
>>
>> and closed the one at
>> https://bugzilla.redhat.com/show_bug.cgi?id=836020
>>
>>
>> Regards,
>> Ajay
>>
>>
>>
>>
>> On Thu, Jun 28, 2012 at 2:38 AM, Ajay Garg <ajaygargnsit at gmail.com>wrote:
>>
>>> Bug posted at
>>> https://bugzilla.redhat.com/show_bug.cgi?id=836020
>>>
>>>
>>> Regards,
>>> Ajay
>>>
>>>
>>> On Tue, Jun 26, 2012 at 5:17 PM, Ajay Garg <ajaygargnsit at gmail.com>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 (that is without using the
>>>> experimental, unstable
>>>> http://telepathy.freedesktop.org/spec/Connection_Interface_Keepalive.html)
>>>> ?
>>>>
>>>>
>>>> Regards,
>>>> Ajay
>>>>
>>>>
>>>>
>>>> On Tue, Jun 26, 2012 at 1:55 PM, Xavier Claessens <xclaesse at gmail.com>wrote:
>>>>
>>>>> What do you need to know?
>>>>>
>>>>> Le mardi 26 juin 2012 à 13:26 +0530, Ajay Garg a écrit :
>>>>> > Ping ... :)
>>>>> >
>>>>> > Regards,
>>>>> > Ajay
>>>>> >
>>>>> > On Sat, Jun 23, 2012 at 2:32 AM, Ajay Garg <ajaygargnsit at gmail.com>
>>>>> > wrote:
>>>>> >         Any updates?
>>>>> >         Please.
>>>>> >
>>>>> >
>>>>> >         Thanks and Regards,
>>>>> >         Ajay
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> >         On Mon, Jun 18, 2012 at 6:42 PM, Ajay Garg
>>>>> >         <ajaygargnsit at gmail.com> wrote:
>>>>> >                 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
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> > _______________________________________________
>>>>> > 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/20120704/631b112d/attachment.html>


More information about the telepathy mailing list