Mercurial > libervia-backend
changeset 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 | b86912d3fd33 |
children | 4dc00e848961 |
files | libervia/backend/plugins/plugin_xep_0471.py |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
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) ) )