plugin XEP-0096: restored XEP-0065 usage

This commit is contained in:
Goffi 2012-11-12 10:55:44 +01:00
commit 5327fecca3

View file

@ -50,7 +50,7 @@ class XEP_0096():
def __init__(self, host):
info(_("Plugin XEP_0096 initialization"))
self.host = host
self.managed_stream_m = [#self.host.plugins["XEP-0065"].NAMESPACE,
self.managed_stream_m = [self.host.plugins["XEP-0065"].NAMESPACE,
self.host.plugins["XEP-0047"].NAMESPACE] #Stream methods managed
self.host.plugins["XEP-0095"].registerSIProfile(PROFILE_NAME, self.transferRequest)
host.bridge.addMethod("sendFile", ".plugin", in_sign='ssa{ss}s', out_sign='s', method=self.sendFile)