summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadhur Garg <madhurgarg96@gmail.com>2019-07-05 17:14:42 +0200
committerMadhur Garg <madhurgarg96@gmail.com>2019-08-22 00:54:25 +0530
commit788c21b9867642b752fec85f0e17c248cc9fa008 (patch)
tree6b203666dba4ad5839e79941522af72732c0dcad
parentef95461bd7c58c2a6bfe3377fa9e87507cf0c512 (diff)
downloadpoezio-788c21b9867642b752fec85f0e17c248cc9fa008.tar.gz
poezio-788c21b9867642b752fec85f0e17c248cc9fa008.tar.bz2
poezio-788c21b9867642b752fec85f0e17c248cc9fa008.tar.xz
poezio-788c21b9867642b752fec85f0e17c248cc9fa008.zip
Apply suggestion 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 9194f407..52c07ee9 100644
--- a/poezio/mam.py
+++ b/poezio/mam.py
@@ -54,7 +54,7 @@ async def MAM(self, remote_jid, start, end, top):
forwarded = msg['mam_result']['forwarded']
timestamp = forwarded['delay']['stamp']
message = forwarded['stanza']
- add_line(text_buffer, '%s' % message['body'], timestamp, str(message['from']), top)
+ add_line(text_buffer, message['body'], timestamp, str(message['from']), top)
self.text_win.scroll_up(len(self.text_win.built_lines))
self.core.refresh_window()
else: