use chat Id as channel, remove primary channels and namespaces

This commit is contained in:
marlon-erler
2026-09-26 14:12:26 +02:00
parent 87760b66d2
commit b3cb919a7d
14 changed files with 453 additions and 1637 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ export default class ChatListModel {
this,
id,
);
chatModel.setPrimaryChannel(primaryChannel);
chatModel.setName(primaryChannel);
this.addChatModel(chatModel);
return chatModel;
@@ -73,7 +73,7 @@ export default class ChatListModel {
for (const chatModel of this.chatModels) {
for (const channel of allChannels) {
if (channel != chatModel.unwrappedPrimaryChannel) continue;
if (channel != chatModel.id) continue;
fn(chatModel);
break;
}