diff --git a/ui/StatusQ/src/StatusQ/Components/StatusChatList.qml b/ui/StatusQ/src/StatusQ/Components/StatusChatList.qml index c93b050baa..5823dfcff2 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusChatList.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusChatList.qml @@ -24,7 +24,7 @@ Column { property var filterFn - signal chatItemSelected(string id) + signal chatItemSelected(string categoryId, string id) signal chatItemUnmuted(string id) signal chatItemReordered(string id, int from, int to) @@ -136,7 +136,7 @@ Column { return } if (!statusChatListItem.selected) { - statusChatList.chatItemSelected(model.itemId) + statusChatList.chatItemSelected(model.parentItemId, model.itemId) } } onUnmute: statusChatList.chatItemUnmuted(model.itemId) diff --git a/ui/StatusQ/src/StatusQ/Components/StatusChatListAndCategories.qml b/ui/StatusQ/src/StatusQ/Components/StatusChatListAndCategories.qml index c3103fc02f..926b497c53 100644 --- a/ui/StatusQ/src/StatusQ/Components/StatusChatListAndCategories.qml +++ b/ui/StatusQ/src/StatusQ/Components/StatusChatListAndCategories.qml @@ -34,7 +34,7 @@ Item { property Component chatListPopupMenu property Component popupMenu - signal chatItemSelected(string id) + signal chatItemSelected(string categoryId, string id) signal chatItemUnmuted(string id) signal chatItemReordered(string categoryId, string chatId, int from, int to) signal chatListCategoryReordered(string categoryId, int from, int to) @@ -70,7 +70,7 @@ Item { id: statusChatList anchors.horizontalCenter: parent.horizontalCenter visible: statusChatList.model.count > 0 - onChatItemSelected: statusChatListAndCategories.chatItemSelected(id) + onChatItemSelected: statusChatListAndCategories.chatItemSelected(categoryId, id) onChatItemUnmuted: statusChatListAndCategories.chatItemUnmuted(id) onChatItemReordered: statusChatListAndCategories.chatItemReordered(categoryId, id, from, to) draggableItems: statusChatListAndCategories.draggableItems @@ -139,7 +139,7 @@ Item { addButton.onClicked: statusChatListAndCategories.categoryAddButtonClicked(model.itemId) chatList.model: model.subItems - chatList.onChatItemSelected: statusChatListAndCategories.chatItemSelected(id) + chatList.onChatItemSelected: statusChatListAndCategories.chatItemSelected(categoryId, id) chatList.onChatItemUnmuted: statusChatListAndCategories.chatItemUnmuted(id) chatList.onChatItemReordered: statusChatListAndCategories.chatItemReordered(model.itemId, id, from, to) chatList.draggableItems: statusChatListAndCategories.draggableItems