summaryrefslogtreecommitdiff
path: root/poezio/mam.py
diff options
context:
space:
mode:
authorMadhur Garg <madhurgarg96@gmail.com>2019-08-13 07:56:07 +0530
committerMadhur Garg <madhurgarg96@gmail.com>2019-08-22 00:54:25 +0530
commit0602a7b0def2ff14c4ea29d5c008d44da8431206 (patch)
tree8abaec606d2259033ea3b4dd0746147be5debcd5 /poezio/mam.py
parentddc23d7d893a683d33d1ae447111508fecc920c1 (diff)
downloadpoezio-0602a7b0def2ff14c4ea29d5c008d44da8431206.tar.gz
poezio-0602a7b0def2ff14c4ea29d5c008d44da8431206.tar.bz2
poezio-0602a7b0def2ff14c4ea29d5c008d44da8431206.tar.xz
poezio-0602a7b0def2ff14c4ea29d5c008d44da8431206.zip
Changed message for MUC's which doesn't support MAM
Diffstat (limited to 'poezio/mam.py')
-rw-r--r--poezio/mam.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/mam.py b/poezio/mam.py
index cf0e5871..c8f095ae 100644
--- a/poezio/mam.py
+++ b/poezio/mam.py
@@ -56,7 +56,7 @@ async def query(tab, remote_jid, top, start=None, end=None, before=None):
except (IqError, IqTimeout):
return tab.information('Failed to retrieve messages', 'Error')
if 'urn:xmpp:mam:2' not in iq['disco_info'].get_features():
- return tab.core.information("This MUC doesn't support MAM.", "Error")
+ return tab.core.information("%s doesn't support MAM." % remote_jid, "Error")
if top:
if isinstance(tab, tabs.MucTab):
try: