Mercurial > libervia-backend
diff src/bridge/bridge_constructor/dbus_frontend_template.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/src/bridge/bridge_constructor/dbus_frontend_template.py Thu May 31 00:26:39 2012 +0200 +++ b/src/bridge/bridge_constructor/dbus_frontend_template.py Mon Jun 25 00:08:16 2012 +0200 @@ -145,6 +145,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)