Revert parser/renderer max message size

- it's now dealt with during decoding
This commit is contained in:
Peter Šurda 2017-05-15 12:25:30 +02:00
parent 183f509f09
commit 198470f734
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87

View File

@ -128,7 +128,6 @@ class MessageView(QtGui.QTextBrowser):
self.html.reset() self.html.reset()
self.html.reset_safe() self.html.reset_safe()
self.html.allow_picture = True self.html.allow_picture = True
# quick hack to limit excessively compressed messages, limits viewing to first MB of data self.html.feed(data)
self.html.feed(data[0:1048576])
self.html.close() self.html.close()
self.showPlain() self.showPlain()