plugin groupblog, D-Bus frontend: added getLastGroupBlogs and getMassiveLastGroupBlogs
This commit is contained in:
parent
bb0f290924
commit
723b468fcc
1 changed files with 19 additions and 20 deletions
|
|
@ -170,8 +170,8 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
def getRoomsJoined(self, profile_key):
|
||||
return self.db_plugin_iface.getRoomsJoined(profile_key)
|
||||
|
||||
def getRoomsSubjectss(self, profile_key):
|
||||
return self.db_plugin_iface.getRoomsSubjectss(profile_key)
|
||||
def getRoomsSubjects(self, profile_key):
|
||||
return self.db_plugin_iface.getRoomsSubjects(profile_key)
|
||||
|
||||
def joinMUC(self, room_jid, nick, options, profile_key):
|
||||
if options == None:
|
||||
|
|
@ -243,12 +243,15 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
def getLastMicroblogs(self, jid, max_items, profile_key, callback=None, errback=None):
|
||||
return self.db_plugin_iface.getLastMicroblogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback)
|
||||
|
||||
def getMblogNodes(self, profile_key, callback=None, errback=None):
|
||||
return self.db_plugin_iface.getMblogNodes(profile_key, reply_handler=callback, error_handler=errback)
|
||||
|
||||
def sendGroupBlog(self, groups, message, profile_key):
|
||||
return self.db_plugin_iface.sendGroupBlog(groups, message, profile_key)
|
||||
|
||||
def getLastGroupBlogs(self, jid, max_items, profile_key, callback=None, errback=None):
|
||||
return self.db_plugin_iface.getLastGroupBlogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback)
|
||||
|
||||
def getMassiveLastGroupBlogs(self, publishers_type, publishers, max_items=10, profile_key='@DEFAULT@', callback=None, errback=None):
|
||||
return self.db_plugin_iface.getMassiveLastGroupBlogs(publishers_type, publishers, max_items, profile_key, reply_handler=callback, error_handler=errback)
|
||||
|
||||
def sendPersonalEvent(self, event_type, data, profile_key):
|
||||
return self.db_plugin_iface.sendPersonalEvent(event_type, data, profile_key)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue