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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 15 16:09:14 CET 2012


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

--- Comment #6 from Daniel Drake <dsd at laptop.org> 2012-02-15 07:09:14 PST ---
(In reply to comment #5)
> > 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.
> 
> It's not. The server should return the last value published by the user.

Can you point out where in the specs this is described?

on_sub_and_presence seems to only describe the generation of events for new subscriptions and presence changes of the subscriber, but doesn't talk about
availability of such data for <iq type=get>.

> Well, how is it supposed to send the last data published by each user when connecting if it does store it? :)

ejabberd does store it, and it does publish it on connect. But, as far as I can see, the specs do not suggest that it has to be available at other times or
through other requests.

> last-item is really just there to avoid manually requesting the node for each of your contact. But we use to work fine without it.

It used to work fine because old ejabberd had a bug, where it treated all pubsub data as persistent (even when persistence was not requested). This bug has now
been fixed, so if we choose to work with non-persistent data we have to look carefully at the semantics of on_sub_and_presence.

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