diff frontends/src/bridge/DBus.py @ 303:2b52a5da0978

plugin XEP_0277: microblog access model can now be changed plugin XEP_0060: added some method to manage pubsub nodes
author Goffi <goffi@goffi.org>
date Thu, 24 Mar 2011 21:15:26 +0100
parents a00e87d48213
children e04ccf122bb6
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py	Mon Feb 21 01:38:16 2011 +0100
+++ b/frontends/src/bridge/DBus.py	Thu Mar 24 21:15:26 2011 +0100
@@ -215,3 +215,5 @@
             data = [('', '')] #XXX: we have to do this awful hack because python dbus need to guess the signature
         return self.db_req_iface.gatewayRegister(action, target, data, profile_key)
 
+    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)