added dynamic exportation of Dbus bridge method (usefull for plugins)

This commit is contained in:
Goffi 2009-10-24 01:05:17 +02:00
commit a00b1eb609

View file

@ -42,8 +42,7 @@ class XEP_0096:
self.host = host
self._waiting_for_approval = {}
host.add_IQ_cb("http://jabber.org/protocol/si", self.xep_96)
host.bridge.register("sendFile", self.sendFile)
host.bridge.addMethod("sendFile", ".communication", in_sign='ss', out_sign='s', method=self.sendFile)
def xep_96(self, IQ):
info ("XEP-0096 management")