Mercurial > libervia-backend
diff src/plugins/plugin_xep_0280.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 |
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0280.py Sun Feb 12 17:55:43 2017 +0100 +++ b/src/plugins/plugin_xep_0280.py Sun Feb 12 18:59:10 2017 +0100 @@ -39,14 +39,14 @@ NS_CARBONS = 'urn:xmpp:carbons:2' PLUGIN_INFO = { - "name": u"XEP-0280 Plugin", - "import_name": u"XEP-0280", - "type": u"XEP", - "protocols": [u"XEP-0280"], - "dependencies": [], - "main": u"XEP_0280", - "handler": u"yes", - "description": D_(u"""Implementation of Message Carbons""") + C.PI_NAME: u"XEP-0280 Plugin", + C.PI_IMPORT_NAME: u"XEP-0280", + C.PI_TYPE: u"XEP", + C.PI_PROTOCOLS: [u"XEP-0280"], + C.PI_DEPENDENCIES: [], + C.PI_MAIN: u"XEP_0280", + C.PI_HANDLER: u"yes", + C.PI_DESCRIPTION: D_(u"""Implementation of Message Carbons""") }