fix(community-chat): don't switch to the first channel when reordering

Fixes #6574
This commit is contained in:
Jonathan Rainville 2022-07-21 15:37:41 -04:00 committed by Iuri Matias
parent 080966cc19
commit e5f9177bcd
1 changed files with 0 additions and 1 deletions

View File

@ -502,7 +502,6 @@ method setFirstChannelAsActive*(self: Module) =
method onReorderChatOrCategory*(self: Module, chatOrCatId: string, position: int) =
self.view.chatsModel().reorder(chatOrCatId, position)
self.setFirstChannelAsActive()
method onCategoryNameChanged*(self: Module, category: Category) =
self.view.chatsModel().renameItem(category.id, category.name)