plugin XEP-0060: fix incorrect type hint.
This commit is contained in:
parent
a804e6a9dc
commit
b6383c557e
2 changed files with 3 additions and 3 deletions
|
|
@ -405,8 +405,8 @@ class PubsubCache:
|
|||
conf = await self._p.getConfiguration(client, service, node)
|
||||
except Exception as e:
|
||||
log.warning(
|
||||
f"Can't retrieve configuration for node {node!r} at service {service} "
|
||||
f"for {client.profile}: {e}"
|
||||
f"Can't retrieve configuration for node {node!r} at service "
|
||||
f"{service} for {client.profile}: {e}"
|
||||
)
|
||||
else:
|
||||
analyse["conf"] = conf
|
||||
|
|
|
|||
|
|
@ -744,7 +744,7 @@ class XEP_0060(object):
|
|||
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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue