fix(groups): Add popup to view group ccontext menu action

Closes: #4616
This commit is contained in:
Boris Melnik 2022-01-31 16:18:51 +03:00 committed by Sale Djenic
parent 192a0c4d19
commit f3485446c3
2 changed files with 13 additions and 2 deletions

View File

@ -310,7 +310,13 @@ Item {
}
onDisplayGroupInfoPopup: {
// Not Refactored Yet
communitySectionModule.prepareChatContentModuleForChatId(chatId)
let chatContentModule = communitySectionModule.getChatContentModule()
Global.openPopup(groupInfoPopupComponent, {
channelType: GroupInfoPopup.ChannelType.ActiveChannel,
channel: chatContentModule.chatDetails
})
}
onEditCommunityChannel: {

View File

@ -294,7 +294,12 @@ Item {
}
onDisplayGroupInfoPopup: {
// Not Refactored Yet
chatSectionModule.prepareChatContentModuleForChatId(chatId)
let chatContentModule = chatSectionModule.getChatContentModule()
Global.openPopup(groupInfoPopupComponent, {
channelType: GroupInfoPopup.ChannelType.ActiveChannel,
channel: chatContentModule.chatDetails
})
}
onOpenPinnedMessagesList: {