diff src/plugins/plugin_xep_0047.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_0047.py	Wed Feb 28 18:28:39 2018 +0100
+++ b/src/plugins/plugin_xep_0047.py	Wed Feb 28 18:28:39 2018 +0100
@@ -54,6 +54,7 @@
     C.PI_NAME: "In-Band Bytestream Plugin",
     C.PI_IMPORT_NAME: "XEP-0047",
     C.PI_TYPE: "XEP",
+    C.PI_MODES: C.PLUG_MODE_BOTH,
     C.PI_PROTOCOLS: ["XEP-0047"],
     C.PI_MAIN: "XEP_0047",
     C.PI_HANDLER: "yes",