diff 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
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0260.py	Wed Feb 28 18:28:39 2018 +0100
+++ b/src/plugins/plugin_xep_0260.py	Wed Feb 28 18:28:39 2018 +0100
@@ -41,6 +41,7 @@
     C.PI_NAME: "Jingle SOCKS5 Bytestreams",
     C.PI_IMPORT_NAME: "XEP-0260",
     C.PI_TYPE: "XEP",
+    C.PI_MODES: C.PLUG_MODE_BOTH,
     C.PI_PROTOCOLS: ["XEP-0260"],
     C.PI_DEPENDENCIES: ["XEP-0166", "XEP-0065"],
     C.PI_RECOMMENDATIONS: ["XEP-0261"], # needed for fallback