prevent errors with corrupt files

This commit is contained in:
marlon-erler
2024-07-22 00:52:54 +02:00
parent 168c13118d
commit 3f48f26327
4 changed files with 58 additions and 34 deletions
+1
View File
@@ -66,6 +66,7 @@ export default class ChatListModel {
let allChannels: string[] = [];
for (const chatModel of this.chatModels) {
if (chatModel.info.primaryChannel == undefined) continue;
allChannels.push(chatModel.info.primaryChannel);
}