core: exceptions moved to core

plugin group blog: group blog now manage public microblogs
This commit is contained in:
Goffi 2012-04-04 00:06:44 +02:00
commit 52b00f6d6f

View file

@ -136,8 +136,8 @@ 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 sendGroupBlog(self, groups, message, profile_key):
return self.db_plugin_iface.sendGroupBlog(groups, message, profile_key)
def sendGroupBlog(self, access_type, access_list, message, profile_key='@DEFAULT@'):
return self.db_plugin_iface.sendGroupBlog(access_type, access_list, 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)