Commit dbef6f43 authored by Link Mauve's avatar Link Mauve

Merge branch 'affiliations-jid' into 'master'

MucTab /affiliation: Add MUC jid in output for context

See merge request poezio/poezio!116
parents 4ced0bd7 b176fe38
...@@ -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