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

@ -2,7 +2,7 @@
- add room members loading indicator
- fix event ID mention regex
- fix main pane appearance when collapsed
- fix lag when clicking accounts in the AccountBar with a very long room list
- fix: on startup, if a room's last event is a membership change,
it won't be visible in timeline no matter what the user config is

View File

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