fix: reorderCommunityChat parameters

This commit is contained in:
Richard Ramos 2022-02-01 18:41:45 -04:00
parent 3fd10e7915
commit e252a7a17f
1 changed files with 3 additions and 1 deletions

View File

@ -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, {