diff src/bridge/bridge_constructor/dbus_frontend_template.py @ 562:0bb2e0d1c878

core, plugin XEP-0054: avatar upload: - plugin XEP-0054: new setAvatar bridge method - new "presence_available" trigger - new DataError
author Goffi <goffi@goffi.org>
date Fri, 28 Dec 2012 01:00:31 +0100
parents 790be337cc41
children 239abc5484c9
line wrap: on
line diff
--- a/src/bridge/bridge_constructor/dbus_frontend_template.py	Wed Dec 19 23:22:10 2012 +0100
+++ b/src/bridge/bridge_constructor/dbus_frontend_template.py	Fri Dec 28 01:00:31 2012 +0100
@@ -110,6 +110,9 @@
     def radiocolSongAdded(self, room_jid, song_path, profile):
         return self.db_plugin_iface.radiocolSongAdded(room_jid, song_path, profile)
 
+    def setAvatar(self, avatar_path, profile):
+        return self.db_plugin_iface.setAvatar(avatar_path, profile)
+
     def sendFile(self, to, path, data, profile_key):
         return self.db_plugin_iface.sendFile(to, path, data, profile_key)