Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0085.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 |
comparison
equal
deleted
inserted
replaced
2144:1d3f73e065e1 | 2145:33c8c4973743 |
---|---|
41 PARAM_NAME = "Enable chat state notifications" | 41 PARAM_NAME = "Enable chat state notifications" |
42 ENTITY_KEY = PARAM_KEY + "_" + PARAM_NAME | 42 ENTITY_KEY = PARAM_KEY + "_" + PARAM_NAME |
43 DELETE_VALUE = "DELETE" | 43 DELETE_VALUE = "DELETE" |
44 | 44 |
45 PLUGIN_INFO = { | 45 PLUGIN_INFO = { |
46 "name": "Chat State Notifications Protocol Plugin", | 46 C.PI_NAME: "Chat State Notifications Protocol Plugin", |
47 "import_name": "XEP-0085", | 47 C.PI_IMPORT_NAME: "XEP-0085", |
48 "type": "XEP", | 48 C.PI_TYPE: "XEP", |
49 "protocols": ["XEP-0085"], | 49 C.PI_PROTOCOLS: ["XEP-0085"], |
50 "dependencies": [], | 50 C.PI_DEPENDENCIES: [], |
51 "main": "XEP_0085", | 51 C.PI_MAIN: "XEP_0085", |
52 "handler": "yes", | 52 C.PI_HANDLER: "yes", |
53 "description": _("""Implementation of Chat State Notifications Protocol""") | 53 C.PI_DESCRIPTION: _("""Implementation of Chat State Notifications Protocol""") |
54 } | 54 } |
55 | 55 |
56 | 56 |
57 # Describe the internal transitions that are triggered | 57 # Describe the internal transitions that are triggered |
58 # by a timer. Beside that, external transitions can be | 58 # by a timer. Beside that, external transitions can be |