diff frontends/src/bridge/DBus.py @ 477:031b0e0aaab8

plugin groupblog: subscriptions/notifications
author Goffi <goffi@goffi.org>
date Mon, 25 Jun 2012 00:08:16 +0200
parents 6cd04adddaea
children 2a072735e459
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py	Thu May 31 00:26:39 2012 +0200
+++ b/frontends/src/bridge/DBus.py	Mon Jun 25 00:08:16 2012 +0200
@@ -252,6 +252,12 @@
     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 subscribeGroupBlog(self, jid, profile_key='@DEFAULT@', callback=None, errback=None):
+        return self.db_plugin_iface.subscribeGroupBlog(jid, profile_key, reply_handler=callback, error_handler=errback)
+    
+    def massiveSubscribeGroupBlogs(self, publishers_type, publishers, profile_key='@DEFAULT@', callback=None, errback=None):
+        return self.db_plugin_iface.massiveSubscribeGroupBlogs(publishers_type, publishers, 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)