Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0313.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 | 70399d1acb47 |
comparison
equal
deleted
inserted
replaced
2144:1d3f73e065e1 | 2145:33c8c4973743 |
---|---|
37 | 37 |
38 | 38 |
39 MESSAGE_RESULT = "/message/result[@xmlns='{mam_ns}' and @queryid='{query_id}']" | 39 MESSAGE_RESULT = "/message/result[@xmlns='{mam_ns}' and @queryid='{query_id}']" |
40 | 40 |
41 PLUGIN_INFO = { | 41 PLUGIN_INFO = { |
42 "name": "Message Archive Management", | 42 C.PI_NAME: "Message Archive Management", |
43 "import_name": "XEP-0313", | 43 C.PI_IMPORT_NAME: "XEP-0313", |
44 "type": "XEP", | 44 C.PI_TYPE: "XEP", |
45 "protocols": ["XEP-0313"], | 45 C.PI_PROTOCOLS: ["XEP-0313"], |
46 "main": "XEP_0313", | 46 C.PI_MAIN: "XEP_0313", |
47 "handler": "yes", | 47 C.PI_HANDLER: "yes", |
48 "description": _("""Implementation of Message Archive Management""") | 48 C.PI_DESCRIPTION: _("""Implementation of Message Archive Management""") |
49 } | 49 } |
50 | 50 |
51 | 51 |
52 class XEP_0313(object): | 52 class XEP_0313(object): |
53 | 53 |