| 1 |
Description: drop unresolvable type annotations |
| 2 |
Author: Martin <[email protected]> |
| 3 |
Origin: vendor |
| 4 |
Last-Update: 2026-04-24 |
| 5 |
--- |
| 6 |
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ |
| 7 |
--- a/libervia/backend/plugins/plugin_xep_0115.py |
| 8 |
+++ b/libervia/backend/plugins/plugin_xep_0115.py |
| 9 |
@@ -98,7 +98,7 @@ |
| 10 |
log.info(_("Plugin XEP_0115 initialization")) |
| 11 |
host.trigger.add("Presence send", self._presence_trigger) |
| 12 |
|
| 13 |
- def get_handler(self, client: SatXMPPEntity) -> XEP_0115_handler: |
| 14 |
+ def get_handler(self, client: SatXMPPEntity): |
| 15 |
return XEP_0115_handler(self) |
| 16 |
|
| 17 |
async def _prepare_caps(self, client: SatXMPPEntity) -> None: |
| 18 |
@@ -426,7 +426,7 @@ |
| 19 |
requestor: SatXMPPEntity, |
| 20 |
target: SatXMPPEntity, |
| 21 |
nodeIdentifier: str = "", |
| 22 |
- ) -> list[disco.DiscoFeature | disco.DiscoIdentity | disco.DiscoExtension]: |
| 23 |
+ ) -> list[disco.DiscoFeature | disco.DiscoIdentity]: |
| 24 |
""" |
| 25 |
Handle disco#info requests, including caps node queries. |
| 26 |
|