diff frontends/src/bridge/DBus.py @ 304:e04ccf122bb6

microblog sending - Bridge: added sendPersonalEvent to DBus frontend - plugin XEP_0277: * fixed unicode issue * node options are now changed instead of node being deleted/recreated for setMicroblogAccess - xml_tools: fixed unicode issue
author Goffi <goffi@goffi.org>
date Sat, 26 Mar 2011 17:51:19 +0100
parents 2b52a5da0978
children 1e4575e12581
line wrap: on
line diff
--- a/frontends/src/bridge/DBus.py	Thu Mar 24 21:15:26 2011 +0100
+++ b/frontends/src/bridge/DBus.py	Sat Mar 26 17:51:19 2011 +0100
@@ -217,3 +217,6 @@
 
     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 sendPersonalEvent(self, event_type, data, profile_key='@DEFAULT@'):
+        return self.db_comm_iface.sendPersonalEvent(event_type, data, profile_key)