1 files changed, 2 insertions, 3 deletions
diff --git a/resources/qml/TimelineView.qml b/resources/qml/TimelineView.qml
index ef1db0f0..b0a8853e 100644
--- a/resources/qml/TimelineView.qml
+++ b/resources/qml/TimelineView.qml
@@ -68,7 +68,7 @@ Rectangle {
model.currentIndex = newIndex
}
- if (contentHeight < height) {
+ if (contentHeight < height && model) {
model.fetchHistory();
}
}
@@ -143,8 +143,7 @@ Rectangle {
spacing: 8
width: parent.width
-
- Component.onCompleted: chat.forceLayout()
+ height: (section.includes(" ") ? dateBubble.height + 8 + userName.height : userName.height) + 8
Label {
id: dateBubble
|