added dynamic exportation of Dbus bridge method (usefull for plugins)
This commit is contained in:
parent
fe8b6c95c6
commit
a00b1eb609
1 changed files with 67 additions and 33 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Reference in a new issue