fix(communityUI): Channel name is not changed in the top nav bar when editing a channel

fixes #15146
This commit is contained in:
Andrey Bocharnikov 2024-06-24 20:15:03 +04:00
parent c8bc68b96c
commit ad7053f809
1 changed files with 2 additions and 0 deletions

View File

@ -396,6 +396,8 @@ method onCommunityChannelEdited*(self: Module, chatDto: ChatDto) =
self.view.chatDetails.setCanView(chatDto.canView)
self.view.chatDetails.setCanPostReactions(chatDto.canPostReactions)
self.view.chatDetails.setHideIfPermissionsNotMet(chatDto.hideIfPermissionsNotMet)
self.view.chatDetails.setName(chatDto.name)
self.view.chatDetails.setIcon(chatDto.icon)
self.messagesModule.updateChatFetchMoreMessages()
self.messagesModule.updateChatIdentifier()