comparison frontends/src/quick_frontend/quick_app.py @ 1513:955221487a3e

plugin XEP-0277, quick_frontend: rename mbGetLast to mbGet and add it the parameter "item_ids"
author souliane <souliane@mailoo.org>
date Thu, 10 Sep 2015 07:39:09 +0200
parents 039d96e131be
children 641cfd2faefe
comparison
equal deleted inserted replaced
1512:fcfec24c87f3 1513:955221487a3e
636 try: 636 try:
637 comments_node, comments_service = data['comments_node'], data['comments_service'] 637 comments_node, comments_service = data['comments_node'], data['comments_service']
638 except KeyError: 638 except KeyError:
639 pass 639 pass
640 else: 640 else:
641 self.bridge.mbGetLast(comments_service, comments_node, C.NO_LIMIT, {"subscribe":C.BOOL_TRUE}, profile=profile) 641 self.bridge.mbGet(comments_service, comments_node, C.NO_LIMIT, [], {"subscribe":C.BOOL_TRUE}, profile=profile)
642 elif event_type == C.PS_RETRACT: 642 elif event_type == C.PS_RETRACT:
643 for wid in self.widgets.getWidgets(quick_blog.QuickBlog): 643 for wid in self.widgets.getWidgets(quick_blog.QuickBlog):
644 wid.deleteEntryIfPresent(service_s, node, data['id'], profile) 644 wid.deleteEntryIfPresent(service_s, node, data['id'], profile)
645 pass 645 pass
646 else: 646 else: