diff src/bridge/bridge_constructor/dbus_frontend_template.py @ 471:6cd04adddaea

core: exceptions moved to core plugin group blog: group blog now manage public microblogs
author Goffi <goffi@goffi.org>
date Wed, 04 Apr 2012 00:06:44 +0200
parents 5c916b99d0f6
children 031b0e0aaab8
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/dbus_frontend_template.py	Sun Apr 01 19:48:31 2012 +0200
+++ b/src/bridge/bridge_constructor/dbus_frontend_template.py	Wed Apr 04 00:06:44 2012 +0200
@@ -136,8 +136,8 @@
     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)