Mercurial > libervia-backend
diff frontends/src/bridge/DBus.py @ 307:1e4575e12581
Group blog first draft
- blog can now be sent, node are automatically created
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 07 Apr 2011 22:23:48 +0200 |
parents | e04ccf122bb6 |
children | 58d2f0c6b595 |
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py Thu Apr 07 22:22:41 2011 +0200 +++ b/frontends/src/bridge/DBus.py Thu Apr 07 22:23:48 2011 +0200 @@ -218,5 +218,11 @@ def getLastMicroblogs(self, jid, max_items, profile_key='@DEFAULT@', callback=None, errback=None): return self.db_comm_iface.getLastMicroblogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback) + def getMblogNodes(self, profile_key='@DEFAULT@', callback=None, errback=None): + return self.db_comm_iface.getMblogNodes(profile_key, reply_handler=callback, error_handler=errback) + + def sendGroupBlog(self, groups, message, profile_key='@DEFAULT@'): + return self.db_comm_iface.sendGroupBlog(groups, message, profile_key) + def sendPersonalEvent(self, event_type, data, profile_key='@DEFAULT@'): return self.db_comm_iface.sendPersonalEvent(event_type, data, profile_key)