comparison src/plugins/plugin_xep_0092.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 a2bc5089c2eb
children a543eda2c923
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
28 28
29 NS_VERSION = "jabber:iq:version" 29 NS_VERSION = "jabber:iq:version"
30 TIMEOUT = 10 30 TIMEOUT = 10
31 31
32 PLUGIN_INFO = { 32 PLUGIN_INFO = {
33 "name": "Software Version Plugin", 33 C.PI_NAME: "Software Version Plugin",
34 "import_name": "XEP-0092", 34 C.PI_IMPORT_NAME: "XEP-0092",
35 "type": "XEP", 35 C.PI_TYPE: "XEP",
36 "protocols": ["XEP-0092"], 36 C.PI_PROTOCOLS: ["XEP-0092"],
37 "dependencies": [], 37 C.PI_DEPENDENCIES: [],
38 "recommendations": [C.TEXT_CMDS], 38 C.PI_RECOMMENDATIONS: [C.TEXT_CMDS],
39 "main": "XEP_0092", 39 C.PI_MAIN: "XEP_0092",
40 "handler": "no", # version is already handler in core.xmpp module 40 C.PI_HANDLER: "no", # version is already handler in core.xmpp module
41 "description": _("""Implementation of Software Version""") 41 C.PI_DESCRIPTION: _("""Implementation of Software Version""")
42 } 42 }
43 43
44 44
45 class XEP_0092(object): 45 class XEP_0092(object):
46 46