diff --git a/qml/component/ImageBubble.qml b/qml/component/ImageBubble.qml index 252bb80..53ed970 100644 --- a/qml/component/ImageBubble.qml +++ b/qml/component/ImageBubble.qml @@ -21,6 +21,8 @@ AvatarContainer { Image { id: messageImage z: -4 + sourceSize.width: width + sourceSize.height: height source: "image://mxc/" + (content.thumbnail_url ? content.thumbnail_url : content.url) MouseArea { diff --git a/qml/form/RoomForm.qml b/qml/form/RoomForm.qml index 76bc613..9a344a1 100644 --- a/qml/form/RoomForm.qml +++ b/qml/form/RoomForm.qml @@ -86,7 +86,7 @@ Item { displayMarginBeginning: 40 displayMarginEnd: 40 verticalLayoutDirection: ListView.BottomToTop - maximumFlickVelocity: 2048 + maximumFlickVelocity: 1024 spacing: 8 model: MessageEventModel{ diff --git a/qml/form/RoomListForm.qml b/qml/form/RoomListForm.qml index 1953fba..51fdb9f 100644 --- a/qml/form/RoomListForm.qml +++ b/qml/form/RoomListForm.qml @@ -210,16 +210,13 @@ Item { id: roomListMenu MenuItem { - text: "Prioritize" + text: "Favourite" onTriggered: roomListMenu.room.isFavourite ? roomListMenu.room.removeTag("m.favourite") : roomListMenu.room.addTag("m.favourite", "1") } MenuItem { text: "Deprioritize" onTriggered: roomListMenu.room.isLowPriority ? roomListMenu.room.removeTag("m.lowpriority") : roomListMenu.room.addTag("m.lowpriority", "1") } - MenuItem { - text: "Direct Chat" - } } } }