From e252a7a17fb5f360d492b2bda08aba0e0bfea166 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Tue, 1 Feb 2022 18:41:45 -0400 Subject: [PATCH] fix: reorderCommunityChat parameters --- ui/app/AppLayouts/Chat/views/CommunityColumnView.qml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/app/AppLayouts/Chat/views/CommunityColumnView.qml b/ui/app/AppLayouts/Chat/views/CommunityColumnView.qml index dbe833b4a7..9dbb1d19d1 100644 --- a/ui/app/AppLayouts/Chat/views/CommunityColumnView.qml +++ b/ui/app/AppLayouts/Chat/views/CommunityColumnView.qml @@ -160,7 +160,9 @@ Item { // onChatItemSelected: root.store.chatsModelInst.channelView.setActiveChannel(id) // onChatItemUnmuted: root.store.chatsModelInst.channelView.unmuteChatItem(id) - onChatItemReordered: root.store.reorderCommunityChat(categoryId, id, to) + onChatItemReordered: function(categoryId, chatId, from, to){ + root.store.reorderCommunityChat(categoryId, chatId, to) + } onChatListCategoryReordered: root.store.reorderCommunityCategories(categoryId, to) onCategoryAddButtonClicked: Global.openPopup(createChannelPopup, {