comparison src/plugins/plugin_xep_0277.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 627cc6120c0e
children a543eda2c923
comparison
equal deleted inserted replaced
2144:1d3f73e065e1 2145:33c8c4973743
44 NS_PUBSUB_EVENT = "{}{}".format(pubsub.NS_PUBSUB, "#event") 44 NS_PUBSUB_EVENT = "{}{}".format(pubsub.NS_PUBSUB, "#event")
45 NS_COMMENT_PREFIX = '{}:comments/'.format(NS_MICROBLOG) 45 NS_COMMENT_PREFIX = '{}:comments/'.format(NS_MICROBLOG)
46 46
47 47
48 PLUGIN_INFO = { 48 PLUGIN_INFO = {
49 "name": "Microblogging over XMPP Plugin", 49 C.PI_NAME: "Microblogging over XMPP Plugin",
50 "import_name": "XEP-0277", 50 C.PI_IMPORT_NAME: "XEP-0277",
51 "type": "XEP", 51 C.PI_TYPE: "XEP",
52 "protocols": ["XEP-0277"], 52 C.PI_PROTOCOLS: ["XEP-0277"],
53 "dependencies": ["XEP-0163", "XEP-0060", "TEXT-SYNTAXES"], 53 C.PI_DEPENDENCIES: ["XEP-0163", "XEP-0060", "TEXT-SYNTAXES"],
54 "recommendations": ["XEP-0059", "EXTRA-PEP"], 54 C.PI_RECOMMENDATIONS: ["XEP-0059", "EXTRA-PEP"],
55 "main": "XEP_0277", 55 C.PI_MAIN: "XEP_0277",
56 "handler": "no", 56 C.PI_HANDLER: "no",
57 "description": _("""Implementation of microblogging Protocol""") 57 C.PI_DESCRIPTION: _("""Implementation of microblogging Protocol""")
58 } 58 }
59 59
60 60
61 class NodeAccessChangeException(Exception): 61 class NodeAccessChangeException(Exception):
62 pass 62 pass