prevent errors with corrupt files
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user