diff --git a/TODO.md b/TODO.md index 58a9bb79..6916d2a9 100644 --- a/TODO.md +++ b/TODO.md @@ -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 diff --git a/src/gui/Pages/Chat/Timeline/EventContent.qml b/src/gui/Pages/Chat/Timeline/EventContent.qml index c11418bc..fd1ee084 100644 --- a/src/gui/Pages/Chat/Timeline/EventContent.qml +++ b/src/gui/Pages/Chat/Timeline/EventContent.qml @@ -63,6 +63,8 @@ HRowLayout { 0 readonly property int maxMessageWidth: + contentText.includes("
") ? + -1 : window.settings.maxMessageCharactersPerLine < 0 ? -1 : Math.ceil(