comparison src/plugins/plugin_xep_0280.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
37 PARAM_NAME = "carbon" 37 PARAM_NAME = "carbon"
38 PARAM_LABEL = D_(u"Message carbons") 38 PARAM_LABEL = D_(u"Message carbons")
39 NS_CARBONS = 'urn:xmpp:carbons:2' 39 NS_CARBONS = 'urn:xmpp:carbons:2'
40 40
41 PLUGIN_INFO = { 41 PLUGIN_INFO = {
42 "name": u"XEP-0280 Plugin", 42 C.PI_NAME: u"XEP-0280 Plugin",
43 "import_name": u"XEP-0280", 43 C.PI_IMPORT_NAME: u"XEP-0280",
44 "type": u"XEP", 44 C.PI_TYPE: u"XEP",
45 "protocols": [u"XEP-0280"], 45 C.PI_PROTOCOLS: [u"XEP-0280"],
46 "dependencies": [], 46 C.PI_DEPENDENCIES: [],
47 "main": u"XEP_0280", 47 C.PI_MAIN: u"XEP_0280",
48 "handler": u"yes", 48 C.PI_HANDLER: u"yes",
49 "description": D_(u"""Implementation of Message Carbons""") 49 C.PI_DESCRIPTION: D_(u"""Implementation of Message Carbons""")
50 } 50 }
51 51
52 52
53 class XEP_0280(object): 53 class XEP_0280(object):
54 # TODO: param is only checked at profile connection 54 # TODO: param is only checked at profile connection