Mercurial > libervia-backend
diff 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 |
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/dbus_frontend_template.py Thu Mar 24 21:15:26 2011 +0100 +++ b/src/bridge/bridge_constructor/dbus_frontend_template.py Sat Mar 26 17:51:19 2011 +0100 @@ -99,3 +99,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) +