Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0163.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 | b5befe7722d3 |
comparison
equal
deleted
inserted
replaced
2144:1d3f73e065e1 | 2145:33c8c4973743 |
---|---|
28 from wokkel.formats import Mood | 28 from wokkel.formats import Mood |
29 | 29 |
30 NS_USER_MOOD = 'http://jabber.org/protocol/mood' | 30 NS_USER_MOOD = 'http://jabber.org/protocol/mood' |
31 | 31 |
32 PLUGIN_INFO = { | 32 PLUGIN_INFO = { |
33 "name": "Personal Eventing Protocol Plugin", | 33 C.PI_NAME: "Personal Eventing Protocol Plugin", |
34 "import_name": "XEP-0163", | 34 C.PI_IMPORT_NAME: "XEP-0163", |
35 "type": "XEP", | 35 C.PI_TYPE: "XEP", |
36 "protocols": ["XEP-0163", "XEP-0107"], | 36 C.PI_PROTOCOLS: ["XEP-0163", "XEP-0107"], |
37 "dependencies": ["XEP-0060"], | 37 C.PI_DEPENDENCIES: ["XEP-0060"], |
38 "main": "XEP_0163", | 38 C.PI_MAIN: "XEP_0163", |
39 "handler": "no", | 39 C.PI_HANDLER: "no", |
40 "description": _("""Implementation of Personal Eventing Protocol""") | 40 C.PI_DESCRIPTION: _("""Implementation of Personal Eventing Protocol""") |
41 } | 41 } |
42 | 42 |
43 | 43 |
44 class XEP_0163(object): | 44 class XEP_0163(object): |
45 | 45 |