comparison src/plugins/plugin_xep_0363.py @ 2145:33c8c4973743

core (plugins): added missing contants + use of new constants in PLUGIN_INFO
author Goffi <goffi@goffi.org>
date Sun, 12 Feb 2017 18:59:10 +0100
parents 1d3f73e065e1
children a543eda2c923
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
40 import os.path 40 import os.path
41 import mimetypes 41 import mimetypes
42 42
43 43
44 PLUGIN_INFO = { 44 PLUGIN_INFO = {
45 "name": "HTTP File Upload", 45 C.PI_NAME: "HTTP File Upload",
46 "import_name": "XEP-0363", 46 C.PI_IMPORT_NAME: "XEP-0363",
47 "type": "XEP", 47 C.PI_TYPE: "XEP",
48 "protocols": ["XEP-0363"], 48 C.PI_PROTOCOLS: ["XEP-0363"],
49 "dependencies": ["FILE", "UPLOAD"], 49 C.PI_DEPENDENCIES: ["FILE", "UPLOAD"],
50 "main": "XEP_0363", 50 C.PI_MAIN: "XEP_0363",
51 "handler": "yes", 51 C.PI_HANDLER: "yes",
52 "description": _("""Implementation of HTTP File Upload""") 52 C.PI_DESCRIPTION: _("""Implementation of HTTP File Upload""")
53 } 53 }
54 54
55 NS_HTTP_UPLOAD = 'urn:xmpp:http:upload' 55 NS_HTTP_UPLOAD = 'urn:xmpp:http:upload'
56 56
57 57