fix(group-chats): Fix wrong group name in a subsequent edit attempt
Root cause: the name used as input for the naming edit field was sourced from the active group entry which is updated only when switching the active group. fixes #4910
This commit is contained in:
parent
5a6912d18e
commit
72e67159fc
|
@ -296,7 +296,7 @@ StatusModal {
|
|||
|
||||
RenameGroupPopup {
|
||||
id: renameGroupPopup
|
||||
activeChannelName: popup.chatSectionModule.activeItem.name
|
||||
activeChannelName: popup.chatDetails ? popup.chatDetails.name : ""
|
||||
onDoRename: {
|
||||
popup.chatSectionModule.renameGroupChat(popup.chatSectionModule.activeItem.id, groupName)
|
||||
popup.header.title = groupName
|
||||
|
|
Loading…
Reference in New Issue