Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0260.py @ 2504:67cc54b01a12
plugin file sharing component: first draft:
this component act as an endpoint where a user can store and retrieve its files using Jingle.
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 28 Feb 2018 18:28:39 +0100 |
parents | e2a7bb875957 |
children |
comparison
equal
deleted
inserted
replaced
2503:c0bec8bac2b5 | 2504:67cc54b01a12 |
---|---|
39 | 39 |
40 PLUGIN_INFO = { | 40 PLUGIN_INFO = { |
41 C.PI_NAME: "Jingle SOCKS5 Bytestreams", | 41 C.PI_NAME: "Jingle SOCKS5 Bytestreams", |
42 C.PI_IMPORT_NAME: "XEP-0260", | 42 C.PI_IMPORT_NAME: "XEP-0260", |
43 C.PI_TYPE: "XEP", | 43 C.PI_TYPE: "XEP", |
44 C.PI_MODES: C.PLUG_MODE_BOTH, | |
44 C.PI_PROTOCOLS: ["XEP-0260"], | 45 C.PI_PROTOCOLS: ["XEP-0260"], |
45 C.PI_DEPENDENCIES: ["XEP-0166", "XEP-0065"], | 46 C.PI_DEPENDENCIES: ["XEP-0166", "XEP-0065"], |
46 C.PI_RECOMMENDATIONS: ["XEP-0261"], # needed for fallback | 47 C.PI_RECOMMENDATIONS: ["XEP-0261"], # needed for fallback |
47 C.PI_MAIN: "XEP_0260", | 48 C.PI_MAIN: "XEP_0260", |
48 C.PI_HANDLER: "yes", | 49 C.PI_HANDLER: "yes", |