plugin XEP-0376: Fix type hint for node which is optional in subscriptions.
This commit is contained in:
parent
0a42dd3da3
commit
5c9c57588c
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ class XEP_0376:
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue