comparison src/plugins/plugin_xep_0231.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
27 from twisted.words.protocols.jabber.xmlstream import XMPPHandler 27 from twisted.words.protocols.jabber.xmlstream import XMPPHandler
28 import base64 28 import base64
29 29
30 30
31 PLUGIN_INFO = { 31 PLUGIN_INFO = {
32 "name": "Bits of Binary", 32 C.PI_NAME: "Bits of Binary",
33 "import_name": "XEP-0231", 33 C.PI_IMPORT_NAME: "XEP-0231",
34 "type": "XEP", 34 C.PI_TYPE: "XEP",
35 "protocols": ["XEP-0231"], 35 C.PI_PROTOCOLS: ["XEP-0231"],
36 "dependencies": ["XEP-0071"], 36 C.PI_DEPENDENCIES: ["XEP-0071"],
37 "main": "XEP_0231", 37 C.PI_MAIN: "XEP_0231",
38 "handler": "yes", 38 C.PI_HANDLER: "yes",
39 "description": _("""Implementation of bits of binary (used for small images/files)""") 39 C.PI_DESCRIPTION: _("""Implementation of bits of binary (used for small images/files)""")
40 } 40 }
41 41
42 NS_BOB = u'urn:xmpp:bob' 42 NS_BOB = u'urn:xmpp:bob'
43 43
44 44