diff libervia/backend/plugins/plugin_xep_0060.py @ 4221:2b000790b197

plugin XEP-0060: fix incorrect type hint.
author Goffi <goffi@goffi.org>
date Tue, 05 Mar 2024 17:31:56 +0100
parents 087902fbb77a
children 0d7bb4df2343
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0060.py	Tue Mar 05 17:31:49 2024 +0100
+++ b/libervia/backend/plugins/plugin_xep_0060.py	Tue Mar 05 17:31:56 2024 +0100
@@ -744,7 +744,7 @@
         sub_id: Optional[str] = None,
         rsm_request: Optional[rsm.RSMRequest] = None,
         extra: Optional[dict] = None
-    ) -> Tuple[List[dict], dict]:
+    ) -> Tuple[List[domish.Element], dict]:
         """Retrieve pubsub items from a node.
 
         @param service (JID, None): pubsub service.