beta12 for porting old format

This commit is contained in:
marlon-erler
2026-09-26 16:02:41 +02:00
parent eaf40d8e37
commit 5a647da2de
7 changed files with 11 additions and 6 deletions
+2
View File
@@ -67,6 +67,8 @@ export default class FileModel {
};
readonly handleFileContent = (fileContent: FileContent<string>): void => {
console.log(fileContent.type);
if (fileContent.type == "chat-info") {
if (checkMatchesObjectStructure(fileContent, ChatInfoReference) == false) return;
this.chatModel.handleInfo(fileContent as ChatInfoFileContent);