Fix the search page

The search model needed to adapted to the changes in messageeventmodel
This commit is contained in:
Tobias Fella
2023-06-10 13:57:03 +00:00
parent 921abac3c1
commit 1de160cb19
7 changed files with 199 additions and 64 deletions

View File

@@ -342,7 +342,7 @@ ColumnLayout {
Component.onCompleted: {
if (root.isReply && root.reply === undefined) {
messageEventModel.loadReply(sortedMessageEventModel.mapToSource(collapseStateProxyModel.mapToSource(collapseStateProxyModel.index(root.index, 0))))
currentRoom.loadReply(root.eventId, root.replyId)
}
}
@@ -613,7 +613,9 @@ ColumnLayout {
}
function setHoverActionsToDelegate() {
ListView.view.setHoverActionsToDelegate(root)
if (ListView.view.setHoverActionsToDelegate) {
ListView.view.setHoverActionsToDelegate(root)
}
}
DelegateSizeHelper {