diff --git a/ui/app/AppLayouts/Chat/views/ChatColumnView.qml b/ui/app/AppLayouts/Chat/views/ChatColumnView.qml index a1c2c78f396..8d7972b87b3 100644 --- a/ui/app/AppLayouts/Chat/views/ChatColumnView.qml +++ b/ui/app/AppLayouts/Chat/views/ChatColumnView.qml @@ -240,7 +240,7 @@ Item { Component.onCompleted: { parentModule.prepareChatContentModuleForChatId(model.itemId) chatContentModule = parentModule.getChatContentModule() - chatSectionModule = root.chatSectionModule; + chatSectionModule = root.parentModule } } } @@ -297,7 +297,7 @@ Item { Component.onCompleted: { parentModule.prepareChatContentModuleForChatId(model.itemId) chatContentModule = parentModule.getChatContentModule() - chatSectionModule = root.chatSectionModule; + chatSectionModule = root.parentModule root.checkForCreateChatOptions(model.itemId) } } diff --git a/ui/app/AppLayouts/Chat/views/ChatContentView.qml b/ui/app/AppLayouts/Chat/views/ChatContentView.qml index 305f8af0b47..50924eda900 100644 --- a/ui/app/AppLayouts/Chat/views/ChatContentView.qml +++ b/ui/app/AppLayouts/Chat/views/ChatContentView.qml @@ -160,7 +160,7 @@ ColumnLayout { Component { id: contactsSelector GroupChatPanel { - sectionModule: chatSectionModule + sectionModule: root.chatSectionModule chatContentModule: root.chatContentModule rootStore: root.rootStore maxHeight: root.height