comparison src/plugins/plugin_xep_0297.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
33 from twisted.words.xish import domish 33 from twisted.words.xish import domish
34 34
35 NS_SF = C.NS_FORWARD 35 NS_SF = C.NS_FORWARD
36 36
37 PLUGIN_INFO = { 37 PLUGIN_INFO = {
38 u"name": u"Stanza Forwarding", 38 C.PI_NAME: u"Stanza Forwarding",
39 u"import_name": u"XEP-0297", 39 C.PI_IMPORT_NAME: u"XEP-0297",
40 u"type": u"XEP", 40 C.PI_TYPE: u"XEP",
41 u"protocols": [u"XEP-0297"], 41 C.PI_PROTOCOLS: [u"XEP-0297"],
42 u"main": "XEP_0297", 42 C.PI_MAIN: "XEP_0297",
43 u"handler": u"yes", 43 C.PI_HANDLER: u"yes",
44 u"description": D_(u"""Implementation of Stanza Forwarding""") 44 C.PI_DESCRIPTION: D_(u"""Implementation of Stanza Forwarding""")
45 } 45 }
46 46
47 47
48 class XEP_0297(object): 48 class XEP_0297(object):
49 # FIXME: check this implementation which doesn't seems to be used 49 # FIXME: check this implementation which doesn't seems to be used