plugin XEP-0060: fix bad naming of return variable

This commit is contained in:
Goffi 2022-07-14 12:55:30 +02:00
commit 5ceb75a137

View file

@ -280,7 +280,8 @@ class PubsubCache:
except error.StanzaError as e:
if e.condition == "service-unavailable":
log.warning(
"service is hidding disco infos, we'll only cache latest 20 items"
"service {service} is hidding disco infos, we'll only cache "
"latest 20 items"
)
items, __ = await client.pubsub_client.items(
pubsub_node.service, pubsub_node.name, maxItems=20