do not show namespaces in marquee

This commit is contained in:
marlon-erler
2026-09-23 00:39:51 +02:00
parent 9607a9f80c
commit f0087cf1cf
6 changed files with 45 additions and 37 deletions
Binary file not shown.
+10
View File
@@ -102,4 +102,14 @@ export default class ChatListViewModel {
this.loadChats();
}
// utility
stripNamespace = (fullChannel: string): string => {
for (const vm of this.chatViewModels.value) {
const fullReference = vm.chatModel.info.namespace + vm.chatModel.info.primaryChannel;
if (fullReference == fullChannel) return vm.chatModel.info.primaryChannel;
}
return fullChannel;
}
}