comparison src/bridge/bridge_constructor/dbus_frontend_template.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
comparison
equal deleted inserted replaced
303:2b52a5da0978 304:e04ccf122bb6
97 return self.db_req_iface.gatewayRegister(action, target, data, profile_key) 97 return self.db_req_iface.gatewayRegister(action, target, data, profile_key)
98 98
99 def getLastMicroblogs(self, jid, max_items, profile_key='@DEFAULT@', callback=None, errback=None): 99 def getLastMicroblogs(self, jid, max_items, profile_key='@DEFAULT@', callback=None, errback=None):
100 return self.db_comm_iface.getLastMicroblogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback) 100 return self.db_comm_iface.getLastMicroblogs(jid, max_items, profile_key, reply_handler=callback, error_handler=errback)
101 101
102 def sendPersonalEvent(self, event_type, data, profile_key='@DEFAULT@'):
103 return self.db_comm_iface.sendPersonalEvent(event_type, data, profile_key)
104