MucTab /affiliation: Add MUC jid in output for context

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent ad683b4b
Pipeline #3175 passed with stages
in 5 minutes and 10 seconds
......@@ -1667,10 +1667,13 @@ class MucTab(ChatTab):
}
if all_errors:
self.core.information('Can’t access affiliations', 'Error')
self.core.information(
'Can’t access affiliations for %s' % jid.bare,
'Error',
)
return None
lines = ['Affiliations']
lines = ['Affiliations for %s' % jid.bare]
for iq in iqs:
if isinstance(iq, (IqError, IqTimeout)):
continue
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment