MucTab /affiliation: Add MUC jid in output for context

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2020-05-24 17:54:05 +02:00
parent ad683b4b68
commit b176fe3809
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

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