[Bug 78147] can not become invisible with 0.16.7 on google talk

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 26 13:08:23 PDT 2014


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

--- Comment #4 from Simon McVittie <simon.mcvittie at collabora.co.uk> ---
The only way in which we can become invisible on GTalk is to use Google's
proprietary "shared status" extension, which only works if all your resources
are invisible. (If not all of your resources are invisible, then your overall
presence is still visible, and there's nothing Gabble can do about that.)

The server claims to support shared-status:

wocky/-DEBUG: 26/05/14 19:20:40.250658: _end_element_ns: Received stanza
* iq xmlns='jabber:client' to='mehmet.giritli at gmail.com/501201df'
from='gmail.com' id='37892851482' type='result'
    * query xmlns='http://jabber.org/protocol/disco#info'
        * identity category='server' type='im' name='Google Talk'
        * feature var='http://jabber.org/protocol/disco#info'
...
        * feature var='google:shared-status'
...

so we ask what shared status we have:

wocky/-DEBUG: 26/05/14 19:20:40.251440: _write_node_tree: Serializing tree:
* iq xmlns='jabber:client' type='get' to='mehmet.giritli at gmail.com'
id='234508251357'
    * query xmlns='google:shared-status' version='2'
...
wocky/-DEBUG: 26/05/14 19:20:40.809276: _end_element_ns: Received stanza
* iq xmlns='jabber:client' to='mehmet.giritli at gmail.com/501201df'
from='mehmet.giritli at gmail.com' id='234508251357' type='result'
    * query xmlns='google:shared-status' status-min-ver='0' status-max='512'
status-list-max='3' status-list-contents-max='5'
        * status
        * show
            "default"
        * status-list show='default'
            * status
                "♫ Metallica - Blackened ♫"
        * status-list show='dnd'
        * invisible value='false'

According to Google's docs, status-min-ver='0' means at least one of your other
resources that is signed-in to the same account doesn't support invisibility,
so you can't be invisible, as summarized here in the Gabble source code:

  /* - status-min-ver == 0 means that at least one resource doesn't support
   *   Google shared status, so we fallback to "dnd".
   * - status-min-ver == 1 means that all the resources support shared
   *   status, but at least one doesn't support invisibility; we have to fall
   *   fall back to "dnd".
   * - status-miv-ver == 2 means that all the resources support shared status
   *   with invisibility.
   * - any other value means that the other resources will have to fall back
   *   to version 2 for us. */
  priv->shared_status_compat =
    (g_strcmp0 (min_version, "0") != 0 && g_strcmp0 (min_version, "1") != 0);

It appears your only other resource is some Android client, presumably a
discontinued Google Talk for Android client that has been superseded by
Hangouts. (Hangouts are not interoperable with standard XMPP, unfortunately.)

wocky/-DEBUG: 26/05/14 19:20:41.372495: _end_element_ns: Received stanza
* presence xmlns='jabber:client'
from='mehmet.giritli at gmail.com/MessagingA6c2a8e07'
to='mehmet.giritli at gmail.com/501201df'
    * show
        "away"
    * c xmlns='http://jabber.org/protocol/caps'
node='http://www.android.com/gtalk/client/caps' ver='1.1'
    * x xmlns='vcard-temp:x:update'
        * photo
            "98d12cf8de86a37b57471a778059197966a7508f"

Mehmet: please sign out from that client (i.e. turn off GTalk on your phone?)
and try again. Gabble should hopefully gain the ability to be invisible.

Andrés: similarly, please sign out / turn off any other resources logged in to
that same GTalk account. You should be able to be invisible. If necessary, turn
on other resources one by one to see which one breaks it.

-- 
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