[Bug 51501] Notification not received, when a buddy client goes offline by virtue of being disconnected from the wifi (telepathy-salut) network

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jul 4 09:56:27 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=51501

Will Thompson <will.thompson at collabora.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Will Thompson <will.thompson at collabora.co.uk> 2012-07-04 00:56:27 PDT ---
I've just tested this locally, just monitoring signals emitted by
telepathy-salut using `dbus-monitor
sender=org.freedesktop.Telepathy.ConnectionManager.salut`, and the right
signals seem to be emitted when a Salut contact disconnects. (With the caveat
that, because I only have one machine on me, the contact is a copy of Pidgin
running on the same machine—but it should be equivalent as far as Salut is
concerned.)

I'm using Salut 0.8.0 (as you are) and telepathy-glib 0.18.1 (which supposedly
has no changes related to this compared to 0.18.0). Could you post your Python
code exhibiting the issue?

Here's the dbus-monitor log from doing the following:

• Sign in with Empathy and Pidgin;
• Run `dbus-monitor sender=org.freedesktop.Telepathy.ConnectionManager.salut`;
• Quit Pidgin.

You can see that a presence update to offline and the ContactsChanged signals
are all emitted as expected.

signal sender=:1.2265 -> dest=(null destination) serial=178
path=/org/freedesktop/Telepathy/Connection/salut/local_xmpp/wjt;
interface=org.freedesktop.Telepathy.Connection.Interface.Presence;
member=PresenceUpdate
   array [
      dict entry(
         uint32 2
         struct {
            uint32 0
            array [
               dict entry(
                  string "offline"
                  array [
                  ]
               )
            ]
         }
      )
   ]
signal sender=:1.2265 -> dest=(null destination) serial=179
path=/org/freedesktop/Telepathy/Connection/salut/local_xmpp/wjt;
interface=org.freedesktop.Telepathy.Connection.Interface.SimplePresence;
member=PresencesChanged
   array [
      dict entry(
         uint32 2
         struct {
            uint32 1
            string "offline"
            string ""
         }
      )
   ]
signal sender=:1.2265 -> dest=(null destination) serial=180
path=/org/freedesktop/Telepathy/Connection/salut/local_xmpp/wjt/ContactList/subscribe;
interface=org.freedesktop.Telepathy.Channel.Interface.Group;
member=MembersChanged
   string ""
   array [
   ]
   array [
      uint32 2
   ]
   array [
   ]
   array [
   ]
   uint32 0
   uint32 0
signal sender=:1.2265 -> dest=(null destination) serial=181
path=/org/freedesktop/Telepathy/Connection/salut/local_xmpp/wjt/ContactList/subscribe;
interface=org.freedesktop.Telepathy.Channel.Interface.Group;
member=MembersChangedDetailed
   array [
   ]
   array [
      uint32 2
   ]
   array [
   ]
   array [
   ]
   array [
      dict entry(
         string "contact-ids"
         variant             array [
            ]
      )
   ]
signal sender=:1.2265 -> dest=(null destination) serial=182
path=/org/freedesktop/Telepathy/Connection/salut/local_xmpp/wjt/ContactList/publish;
interface=org.freedesktop.Telepathy.Channel.Interface.Group;
member=MembersChanged
   string ""
   array [
   ]
   array [
      uint32 2
   ]
   array [
   ]
   array [
   ]
   uint32 0
   uint32 0
signal sender=:1.2265 -> dest=(null destination) serial=183
path=/org/freedesktop/Telepathy/Connection/salut/local_xmpp/wjt/ContactList/publish;
interface=org.freedesktop.Telepathy.Channel.Interface.Group;
member=MembersChangedDetailed
   array [
   ]
   array [
      uint32 2
   ]
   array [
   ]
   array [
   ]
   array [
      dict entry(
         string "contact-ids"
         variant             array [
            ]
      )
   ]
signal sender=:1.2265 -> dest=(null destination) serial=184
path=/org/freedesktop/Telepathy/Connection/salut/local_xmpp/wjt;
interface=org.freedesktop.Telepathy.Connection.Interface.ContactList;
member=ContactsChangedWithID
   array [
   ]
   array [
   ]
   array [
      dict entry(
         uint32 2
         string "pidjt at queeg"
      )
   ]
signal sender=:1.2265 -> dest=(null destination) serial=185
path=/org/freedesktop/Telepathy/Connection/salut/local_xmpp/wjt;
interface=org.freedesktop.Telepathy.Connection.Interface.ContactList;
member=ContactsChanged
   array [
   ]
   array [
      uint32 2
   ]

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the telepathy-bugs mailing list