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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 14 18:11:59 CET 2012


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

--- Comment #4 from Daniel Drake <dsd at laptop.org> 2012-02-14 09:11:59 PST ---
OK, thanks for pointing that out. Enabling jabber's last item cache helps a lot.

Still a couple of problems though, and areas of uncertainty:

telepathy connects to the server and the server sends the last published items of the PEP nodes of the user. telepathy broadcasts this info as signals but then
forgets the information (doesn't cache it). Right?

Isn't this racy? What if Sugar hasn't yet hooked up its signal handlers to this connection? It could connect too late and miss those signals.

Sugar then tries to enumerate each buddy on the connection as follows:
   self.connection[CONNECTION_INTERFACE_BUDDY_INFO].GetProperties(handle)

which causes an <iq type=get> request to be sent to the server, but in this case the jabber server returns an empty result, and I think this is correct. The
specs seem to say that the jabber server has to cache or store the last item published, and send it to new clients as they connect (as you note above) due to
on_sub_and_presence, but it doesn't say that the server has to then keep that info around for later and resend it on-demand.

Am I missing anything here?

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