summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2020-05-24 17:54:05 +0200
committerMaxime “pep” Buquet <pep@bouah.net>2020-05-24 17:54:05 +0200
commitb176fe3809a658e1bc4291fafd5389f9db34510b (patch)
tree88de7dc959f59d26feb07bbc12e4abdade014366
parentad683b4b689bf767d7df1d30f964641c4bc97597 (diff)
downloadpoezio-b176fe3809a658e1bc4291fafd5389f9db34510b.tar.gz
poezio-b176fe3809a658e1bc4291fafd5389f9db34510b.tar.bz2
poezio-b176fe3809a658e1bc4291fafd5389f9db34510b.tar.xz
poezio-b176fe3809a658e1bc4291fafd5389f9db34510b.zip
MucTab /affiliation: Add MUC jid in output for context
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--poezio/tabs/muctab.py7
1 files 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