comparison src/plugins/plugin_xep_0249.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 8b37a62336c3
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
42 AUTOJOIN_KEY = "Misc" 42 AUTOJOIN_KEY = "Misc"
43 AUTOJOIN_NAME = "Auto-join MUC on invitation" 43 AUTOJOIN_NAME = "Auto-join MUC on invitation"
44 AUTOJOIN_VALUES = ["ask", "always", "never"] 44 AUTOJOIN_VALUES = ["ask", "always", "never"]
45 45
46 PLUGIN_INFO = { 46 PLUGIN_INFO = {
47 "name": "XEP 0249 Plugin", 47 C.PI_NAME: "XEP 0249 Plugin",
48 "import_name": "XEP-0249", 48 C.PI_IMPORT_NAME: "XEP-0249",
49 "type": "XEP", 49 C.PI_TYPE: "XEP",
50 "protocols": ["XEP-0249"], 50 C.PI_PROTOCOLS: ["XEP-0249"],
51 "dependencies": ["XEP-0045"], 51 C.PI_DEPENDENCIES: ["XEP-0045"],
52 "recommendations": [C.TEXT_CMDS], 52 C.PI_RECOMMENDATIONS: [C.TEXT_CMDS],
53 "main": "XEP_0249", 53 C.PI_MAIN: "XEP_0249",
54 "handler": "yes", 54 C.PI_HANDLER: "yes",
55 "description": _("""Implementation of Direct MUC Invitations""") 55 C.PI_DESCRIPTION: _("""Implementation of Direct MUC Invitations""")
56 } 56 }
57 57
58 58
59 class XEP_0249(object): 59 class XEP_0249(object):
60 60