plugin XEP-0471: modify variable name to be linter friendly.

This commit is contained in:
Goffi 2023-12-09 19:17:34 +01:00
commit 2db4ba9b3e

View file

@ -886,22 +886,22 @@ class XEP_0471:
service: str,
node: str,
item: str,
invitees_s: List[str],
invitees: List[str],
extra: str,
profile_key: str
) -> defer.Deferred:
client = self.host.get_client(profile_key)
if invitees_s:
invitees = [jid.JID(i) for i in invitees_s]
if invitees:
invitees_jid = [jid.JID(i) for i in invitees]
else:
invitees = None
invitees_jid = None
d = defer.ensureDeferred(
self.event_invitee_get(
client,
jid.JID(service) if service else None,
node or None,
item,
invitees,
invitees_jid,
data_format.deserialise(extra)
)
)