Mercurial > libervia-backend
comparison sat/plugins/plugin_comp_ap_gateway/__init__.py @ 4027:26c3e1bc7fb7
plugin XEP-0471: renamed "events" plugin to XEP-0471 now that there is a XEP
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 30 Mar 2023 16:47:41 +0200 |
parents | 44abce96ac6b |
children | 524856bd7b19 |
comparison
equal
deleted
inserted
replaced
4026:fe4725bf42fb | 4027:26c3e1bc7fb7 |
---|---|
107 C.PI_TYPE: C.PLUG_TYPE_ENTRY_POINT, | 107 C.PI_TYPE: C.PLUG_TYPE_ENTRY_POINT, |
108 C.PI_PROTOCOLS: [], | 108 C.PI_PROTOCOLS: [], |
109 C.PI_DEPENDENCIES: [ | 109 C.PI_DEPENDENCIES: [ |
110 "XEP-0050", "XEP-0054", "XEP-0060", "XEP-0084", "XEP-0106", "XEP-0277", | 110 "XEP-0050", "XEP-0054", "XEP-0060", "XEP-0084", "XEP-0106", "XEP-0277", |
111 "XEP-0292", "XEP-0329", "XEP-0372", "XEP-0424", "XEP-0465", "XEP-0470", | 111 "XEP-0292", "XEP-0329", "XEP-0372", "XEP-0424", "XEP-0465", "XEP-0470", |
112 "XEP-0447", "PUBSUB_CACHE", "TEXT_SYNTAXES", "IDENTITY", "EVENTS" | 112 "XEP-0447", "XEP-0471", "PUBSUB_CACHE", "TEXT_SYNTAXES", "IDENTITY" |
113 ], | 113 ], |
114 C.PI_RECOMMENDATIONS: [], | 114 C.PI_RECOMMENDATIONS: [], |
115 C.PI_MAIN: "APGateway", | 115 C.PI_MAIN: "APGateway", |
116 C.PI_HANDLER: C.BOOL_TRUE, | 116 C.PI_HANDLER: C.BOOL_TRUE, |
117 C.PI_DESCRIPTION: _( | 117 C.PI_DESCRIPTION: _( |
148 self._pps = host.plugins["XEP-0465"] | 148 self._pps = host.plugins["XEP-0465"] |
149 self._pa = host.plugins["XEP-0470"] | 149 self._pa = host.plugins["XEP-0470"] |
150 self._c = host.plugins["PUBSUB_CACHE"] | 150 self._c = host.plugins["PUBSUB_CACHE"] |
151 self._t = host.plugins["TEXT_SYNTAXES"] | 151 self._t = host.plugins["TEXT_SYNTAXES"] |
152 self._i = host.plugins["IDENTITY"] | 152 self._i = host.plugins["IDENTITY"] |
153 self._events = host.plugins["EVENTS"] | 153 self._events = host.plugins["XEP-0471"] |
154 self._p.addManagedNode( | 154 self._p.addManagedNode( |
155 "", | 155 "", |
156 items_cb=self._itemsReceived, | 156 items_cb=self._itemsReceived, |
157 # we want to be sure that the callbacks are launched before pubsub cache's | 157 # we want to be sure that the callbacks are launched before pubsub cache's |
158 # one, as we need to inspect items before they are actually removed from cache | 158 # one, as we need to inspect items before they are actually removed from cache |