add setting for primary channel

This commit is contained in:
marlon-erler
2024-07-20 17:30:36 +02:00
parent e704072d6a
commit e3c902f60e
9 changed files with 85 additions and 8 deletions
+1
View File
@@ -47,6 +47,7 @@ export class ChatModel {
setPrimaryChannel = (primaryChannel: string): void => {
this.info.primaryChannel = primaryChannel;
this.storeInfo();
this.chatListModel.updateIndices();
};
setSecondaryChannels = (secondaryChannels: string[]): void => {