Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0095.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 | 8b37a62336c3 |
comparison
equal
deleted
inserted
replaced
2144:1d3f73e065e1 | 2145:33c8c4973743 |
---|---|
29 from wokkel import iwokkel | 29 from wokkel import iwokkel |
30 import uuid | 30 import uuid |
31 | 31 |
32 | 32 |
33 PLUGIN_INFO = { | 33 PLUGIN_INFO = { |
34 "name": "XEP 0095 Plugin", | 34 C.PI_NAME: "XEP 0095 Plugin", |
35 "import_name": "XEP-0095", | 35 C.PI_IMPORT_NAME: "XEP-0095", |
36 "type": "XEP", | 36 C.PI_TYPE: "XEP", |
37 "protocols": ["XEP-0095"], | 37 C.PI_PROTOCOLS: ["XEP-0095"], |
38 "main": "XEP_0095", | 38 C.PI_MAIN: "XEP_0095", |
39 "handler": "yes", | 39 C.PI_HANDLER: "yes", |
40 "description": _("""Implementation of Stream Initiation""") | 40 C.PI_DESCRIPTION: _("""Implementation of Stream Initiation""") |
41 } | 41 } |
42 | 42 |
43 | 43 |
44 IQ_SET = '/iq[@type="set"]' | 44 IQ_SET = '/iq[@type="set"]' |
45 NS_SI = 'http://jabber.org/protocol/si' | 45 NS_SI = 'http://jabber.org/protocol/si' |