Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0055.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 | 2daf7b4c6756 |
children | a543eda2c923 |
comparison
equal
deleted
inserted
replaced
2144:1d3f73e065e1 | 2145:33c8c4973743 |
---|---|
38 | 38 |
39 | 39 |
40 NS_SEARCH = 'jabber:iq:search' | 40 NS_SEARCH = 'jabber:iq:search' |
41 | 41 |
42 PLUGIN_INFO = { | 42 PLUGIN_INFO = { |
43 "name": "Jabber Search", | 43 C.PI_NAME: "Jabber Search", |
44 "import_name": "XEP-0055", | 44 C.PI_IMPORT_NAME: "XEP-0055", |
45 "type": "XEP", | 45 C.PI_TYPE: "XEP", |
46 "protocols": ["XEP-0055"], | 46 C.PI_PROTOCOLS: ["XEP-0055"], |
47 "dependencies": [], | 47 C.PI_DEPENDENCIES: [], |
48 "recommendations": ["XEP-0059"], | 48 C.PI_RECOMMENDATIONS: ["XEP-0059"], |
49 "main": "XEP_0055", | 49 C.PI_MAIN: "XEP_0055", |
50 "handler": "no", | 50 C.PI_HANDLER: "no", |
51 "description": _("""Implementation of Jabber Search""") | 51 C.PI_DESCRIPTION: _("""Implementation of Jabber Search""") |
52 } | 52 } |
53 | 53 |
54 # config file parameters | 54 # config file parameters |
55 CONFIG_SECTION = "plugin search" | 55 CONFIG_SECTION = "plugin search" |
56 CONFIG_SERVICE_LIST = "service_list" | 56 CONFIG_SERVICE_LIST = "service_list" |