comparison libervia.tac @ 135:ceef355156de

server + browser side: groupblog subscription + fixed blog insertion order
author Goffi <goffi@goffi.org>
date Mon, 25 Jun 2012 01:03:50 +0200
parents 4ad621df9e34
children b145da69a218
comparison
equal deleted inserted replaced
134:ee7b4aecdc67 135:ceef355156de
224 @param max_item: number of items to ask 224 @param max_item: number of items to ask
225 @return: dictionary key=publisher's jid, value=list of microblog data (dict)""" 225 @return: dictionary key=publisher's jid, value=list of microblog data (dict)"""
226 profile = ISATSession(self.session).profile 226 profile = ISATSession(self.session).profile
227 d = defer.Deferred() 227 d = defer.Deferred()
228 self.sat_host.bridge.getMassiveLastGroupBlogs(publishers_type, publishers_list, max_item, profile, callback=d.callback, errback=d.errback) 228 self.sat_host.bridge.getMassiveLastGroupBlogs(publishers_type, publishers_list, max_item, profile, callback=d.callback, errback=d.errback)
229 self.sat_host.bridge.massiveSubscribeGroupBlogs(publishers_type, publishers_list, profile)
229 return d 230 return d
230 231
231 def jsonrpc_getPresenceStatus(self): 232 def jsonrpc_getPresenceStatus(self):
232 """Get Presence information for connected contacts""" 233 """Get Presence information for connected contacts"""
233 profile = ISATSession(self.session).profile 234 profile = ISATSession(self.session).profile