core (plugins): added missing contants + use of new constants in PLUGIN_INFO
This commit is contained in:
parent
97337202cb
commit
ac7d587c49
1 changed files with 586 additions and 560 deletions
|
|
@ -35,14 +35,14 @@ from textwrap import dedent
|
|||
|
||||
|
||||
PLUGIN_INFO = {
|
||||
"name": u"Message Processing Hints",
|
||||
"import_name": u"XEP-0334",
|
||||
"type": u"XEP",
|
||||
"protocols": [u"XEP-0334"],
|
||||
"main": "XEP_0334",
|
||||
"handler": u"yes",
|
||||
"description": D_(u"""Implementation of Message Processing Hints"""),
|
||||
"usage": dedent(D_(u"""\
|
||||
C.PI_NAME: u"Message Processing Hints",
|
||||
C.PI_IMPORT_NAME: u"XEP-0334",
|
||||
C.PI_TYPE: u"XEP",
|
||||
C.PI_PROTOCOLS: [u"XEP-0334"],
|
||||
C.PI_MAIN: "XEP_0334",
|
||||
C.PI_HANDLER: u"yes",
|
||||
C.PI_DESCRIPTION: D_(u"""Implementation of Message Processing Hints"""),
|
||||
C.PI_USAGE: dedent(D_(u"""\
|
||||
Frontends can use HINT_* constants in mess_data['extra'] in a serialized 'hints' dict.
|
||||
Internal plugins can use directly addHint([HINT_* constant]).
|
||||
Will set mess_data['extra']['history'] to 'skipped' when no store is requested and message is not saved in history."""))
|
||||
|
|
|
|||
Loading…
Reference in a new issue