MucTab /affiliation: Add MUC jid in output for context

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <>
parent ad683b4b
Pipeline #3175 passed with stages
in 5 minutes and 10 seconds
...@@ -1667,10 +1667,13 @@ class MucTab(ChatTab): ...@@ -1667,10 +1667,13 @@ class MucTab(ChatTab):
} }
if all_errors: if all_errors:
self.core.information('Can’t access affiliations', 'Error') self.core.information(
'Can’t access affiliations for %s' % jid.bare,
return None return None
lines = ['Affiliations'] lines = ['Affiliations for %s' % jid.bare]
for iq in iqs: for iq in iqs:
if isinstance(iq, (IqError, IqTimeout)): if isinstance(iq, (IqError, IqTimeout)):
continue 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