Don't limit width of messages with code blocks

This commit is contained in:
miruka
2020-05-20 11:08:02 -04:00
parent 42b62377ab
commit a48b1cedd0
2 changed files with 3 additions and 1 deletions

View File

@@ -63,6 +63,8 @@ HRowLayout {
0
readonly property int maxMessageWidth:
contentText.includes("<pre>") ?
-1 :
window.settings.maxMessageCharactersPerLine < 0 ?
-1 :
Math.ceil(