[Bug 45853] New: telepathy-gabble does not persist OLPC pubsub data

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 9 21:41:17 CET 2012


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

             Bug #: 45853
           Summary: telepathy-gabble does not persist OLPC pubsub data
    Classification: Unclassified
           Product: Telepathy
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: gabble
        AssignedTo: telepathy-bugs at lists.freedesktop.org
        ReportedBy: dsd at laptop.org
         QAContact: telepathy-bugs at lists.freedesktop.org


The src/conn-olpc.c code in telepathy-gabble uses pubsub to share data between
roster users about the users icon colour, public ssh key, activity information,
etc.

However, by default, pubsub is a "broadcast-and-forget" system, i.e. the server
will broadcast the data to any existing clients, but not save it to be queried
later.

Old ejabberd versions were not exactly specs-compliant here and stored the data
anyway, but new ejabberd versions do not store the data by default, and this
isn't configurable.

This means that OLPC presence is broken - when connecting to a network,
Sugar/telepathy attempts to retrieve the public keys and icon colors of all
existing users on the network (via pubsub query). This fails (the server didn't
store it) so the presence is broken.

The pubsub messages generated by telepath-gabble/wocky should be modified to
mark the data as persistent, to be stored to the server, according to
http://xmpp.org/extensions/xep-0223.html.

Reproduced with telepathy-gabble-0.15.3.

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