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 -1
View File
@@ -285,11 +285,12 @@ export default class ChatModel {
// load
readonly loadInfo = (): void => {
const info: ChatInfoFileContent | null = this.storageModel.readStringifiable(
let info: ChatInfoFileContent | null = this.storageModel.readStringifiable(
this.getInfoPath(),
ChatInfoReference,
);
this.info = (info || ChatModel.generateChatInfo("0", "0", Colors.Standard));
this.storeInfo();
};
readonly handleInfo = (info: ChatInfoFileContent): void => {