plugin text syntaxes: changed import name to TEXT_SYNTAX (better with underscore for autocompletion)
This commit is contained in:
parent
604ff498da
commit
f1c0eca9ab
1 changed files with 18 additions and 18 deletions
|
|
@ -49,7 +49,7 @@ PLUGIN_INFO = {
|
|||
C.PI_IMPORT_NAME: "XEP-0071",
|
||||
C.PI_TYPE: "XEP",
|
||||
C.PI_PROTOCOLS: ["XEP-0071"],
|
||||
C.PI_DEPENDENCIES: ["TEXT-SYNTAXES"],
|
||||
C.PI_DEPENDENCIES: ["TEXT_SYNTAXES"],
|
||||
C.PI_MAIN: "XEP_0071",
|
||||
C.PI_HANDLER: "yes",
|
||||
C.PI_DESCRIPTION: _("""Implementation of XHTML-IM"""),
|
||||
|
|
@ -93,7 +93,7 @@ class XEP_0071(object):
|
|||
def __init__(self, host):
|
||||
log.info(_("XHTML-IM plugin initialization"))
|
||||
self.host = host
|
||||
self._s = self.host.plugins["TEXT-SYNTAXES"]
|
||||
self._s = self.host.plugins["TEXT_SYNTAXES"]
|
||||
self._s.addSyntax(
|
||||
self.SYNTAX_XHTML_IM,
|
||||
lambda xhtml: xhtml,
|
||||
|
|
|
|||
Loading…
Reference in a new issue