Mercurial > libervia-backend
diff src/plugins/plugin_xep_0096.py @ 540:47e45a577ab7
plugin XEP-0096: restored XEP-0065 usage
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 12 Nov 2012 10:55:44 +0100 |
parents | 2c4016921403 |
children | ca13633d3b6b |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0096.py Mon Nov 12 10:55:09 2012 +0100 +++ b/src/plugins/plugin_xep_0096.py Mon Nov 12 10:55:44 2012 +0100 @@ -50,7 +50,7 @@ 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)