changeset 4396:65059d833067

plugin XEP-0376: Fix type hint for `node` which is optional in `subscriptions`.
author Goffi <goffi@goffi.org>
date Fri, 05 Sep 2025 19:32:47 +0200
parents 9c3ca8317e51
children 6e3a0ef1c561
files libervia/backend/plugins/plugin_xep_0376.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0376.py	Fri Sep 05 19:31:50 2025 +0200
+++ b/libervia/backend/plugins/plugin_xep_0376.py	Fri Sep 05 19:32:47 2025 +0200
@@ -142,7 +142,7 @@
         self,
         client: SatXMPPEntity,
         service: Optional[jid.JID],
-        node: str,
+        node: str|None,
     ) -> Tuple[bool, Optional[List[Dict[str, Any]]]]:
         if not await self.host.has_feature(client, NS_PAM):
             return True, None