diff libervia/backend/plugins/plugin_xep_0471.py @ 4181:bc898879af34

plugin XEP-0471: modify variable name to be linter friendly.
author Goffi <goffi@goffi.org>
date Sat, 09 Dec 2023 19:17:34 +0100
parents 4b842c1fb686
children 0d7bb4df2343
line wrap: on
line diff
--- a/libervia/backend/plugins/plugin_xep_0471.py	Sat Dec 09 14:30:54 2023 +0100
+++ b/libervia/backend/plugins/plugin_xep_0471.py	Sat Dec 09 19:17:34 2023 +0100
@@ -886,22 +886,22 @@
         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)
             )
         )