comparison src/plugins/plugin_xep_0060.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
40 from wokkel import rsm 40 from wokkel import rsm
41 from wokkel import mam 41 from wokkel import mam
42 42
43 43
44 PLUGIN_INFO = { 44 PLUGIN_INFO = {
45 "name": "Publish-Subscribe", 45 C.PI_NAME: "Publish-Subscribe",
46 "import_name": "XEP-0060", 46 C.PI_IMPORT_NAME: "XEP-0060",
47 "type": "XEP", 47 C.PI_TYPE: "XEP",
48 "protocols": ["XEP-0060"], 48 C.PI_PROTOCOLS: ["XEP-0060"],
49 "dependencies": [], 49 C.PI_DEPENDENCIES: [],
50 "recommendations": ["XEP-0313"], 50 C.PI_RECOMMENDATIONS: ["XEP-0313"],
51 "main": "XEP_0060", 51 C.PI_MAIN: "XEP_0060",
52 "handler": "yes", 52 C.PI_HANDLER: "yes",
53 "description": _("""Implementation of PubSub Protocol""") 53 C.PI_DESCRIPTION: _("""Implementation of PubSub Protocol""")
54 } 54 }
55 55
56 UNSPECIFIED = "unspecified error" 56 UNSPECIFIED = "unspecified error"
57 MAM_FILTER = "mam_filter_" 57 MAM_FILTER = "mam_filter_"
58 58