Mercurial > libervia-backend
comparison libervia/backend/plugins/plugin_xep_0402.py @ 4357:f43cbceba2a0
various minor fixes.
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 11 Apr 2025 18:19:28 +0200 |
parents | 554a87ae17a6 |
children |
comparison
equal
deleted
inserted
replaced
4356:c9626f46b63e | 4357:f43cbceba2a0 |
---|---|
183 | 183 |
184 class XEP_0402: | 184 class XEP_0402: |
185 namespace = NS_BOOKMARKS2 | 185 namespace = NS_BOOKMARKS2 |
186 | 186 |
187 def __init__(self, host): | 187 def __init__(self, host): |
188 log.info(f"plugin {PLUGIN_INFO[C.PI_NAME]!r} initialization") | 188 log.info(f"Plugin {PLUGIN_INFO[C.PI_NAME]!r} initialization.") |
189 self.host = host | 189 self.host = host |
190 self._legacy = cast(XEP_0048, host.plugins["XEP-0048"]) | 190 self._legacy = cast(XEP_0048, host.plugins["XEP-0048"]) |
191 self._p = cast(XEP_0060, host.plugins["XEP-0060"]) | 191 self._p = cast(XEP_0060, host.plugins["XEP-0060"]) |
192 self._muc = cast(XEP_0045, host.plugins["XEP-0045"]) | 192 self._muc = cast(XEP_0045, host.plugins["XEP-0045"]) |
193 host.bridge.add_method( | 193 host.bridge.add_method( |