Merge branch 'affiliations-jid' into 'master'

MucTab /affiliation: Add MUC jid in output for context

See merge request poezio/poezio!116
This commit is contained in:
Link Mauve 2020-05-24 18:17:43 +02:00
commit dbef6f435f

View file

@ -1667,10 +1667,13 @@ class MucTab(ChatTab):
}
if all_errors:
self.core.information('Cant access affiliations', 'Error')
self.core.information(
'Cant 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