From b176fe3809a658e1bc4291fafd5389f9db34510b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 24 May 2020 17:54:05 +0200 Subject: MucTab /affiliation: Add MUC jid in output for context MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/tabs/muctab.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py index 7885991a..eece1f40 100644 --- a/poezio/tabs/muctab.py +++ b/poezio/tabs/muctab.py @@ -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 -- cgit v1.2.3