From df1bad1c29bebcfe117942822eadb7ba19cc2111 Mon Sep 17 00:00:00 2001 From: Deon George Date: Sat, 7 Dec 2024 19:32:42 +1100 Subject: [PATCH] Add a date to our imported messages. Tag our messages with an EOF marker --- load/msgbases.js | 16 +++++++--------- load/page.js | 15 ++++++++++----- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/load/msgbases.js b/load/msgbases.js index 35261b1..98c210d 100644 --- a/load/msgbases.js +++ b/load/msgbases.js @@ -423,16 +423,14 @@ function MsgArea() { try { if (msgbase.open()) { - var content = JSON.parse(LZString.decompressFromBase64(msgbase.get_msg_body(false,id,false,false,true,true))); - msgbase.close(); + var raw = msgbase.get_msg_body(false,id,false,false,true,true); - var i; - for (var i=0; i