diff --git a/xtrn/DDMsgReader/DDMsgReader.js b/xtrn/DDMsgReader/DDMsgReader.js index 0ba269d828b814476cff5204bd8296a05974b0fa..d59e7fec5de49be39e5a4921994270563c52f177 100644 --- a/xtrn/DDMsgReader/DDMsgReader.js +++ b/xtrn/DDMsgReader/DDMsgReader.js @@ -231,6 +231,10 @@ * 2025-02-08 Eric Oulashin Version 1.96L * After replying to a message, when it shows the status & pauses * for input, a Q or Ctrl-C will now exit, and not be ignored. + * 2025-05-28 Eric Oulashin Version 1.96M + * When reading messages, only mark it as read if it's to + * the current user, including for personal email (i.e., when reading + * sent mail, don't mark messages to others as read). */ "use strict"; @@ -338,8 +342,8 @@ var hexdump = load('hexdump_lib.js'); // Reader version information -var READER_VERSION = "1.96L"; -var READER_DATE = "2025-02-18"; +var READER_VERSION = "1.96M"; +var READER_DATE = "2025-03-28"; // Keyboard key codes for displaying on the screen var UP_ARROW = ascii(24); @@ -5610,8 +5614,8 @@ function DigDistMsgReader_ReadMessageEnhanced(pOffset, pAllowChgArea) if (retObj.msgNotReadable) return retObj; - // Mark the message as read if reading personal email or if it was written to the current user - if (this.readingPersonalEmail || ((msgHeader.attr & MSG_READ) == 0) && (userHandleAliasNameMatch(msgHeader.to))) + // Mark the message as read if it was written to the current user + if (userHandleAliasNameMatch(msgHeader.to)) { // Using applyAttrsInMsgHdrInMessagbase(), which loads the header without // expanded fields and saves the attributes with that header. diff --git a/xtrn/DDMsgReader/ddmr_cfg.js b/xtrn/DDMsgReader/ddmr_cfg.js index df083975f247349ebd870bc178d4a50612954333..43417a63774450fd38985c7e82bf6add0541bf86 100644 --- a/xtrn/DDMsgReader/ddmr_cfg.js +++ b/xtrn/DDMsgReader/ddmr_cfg.js @@ -5,7 +5,7 @@ // If you have DDMsgReader in a directory other than xtrn/DDMsgReader, then the changes to // DDMsgReader.cfg will be saved in that directory (assuming you're running ddmr_cfg.js from // that same directory). -// Currently for DDMsgReader 1.96L. +// Currently for DDMsgReader 1.96M. // // If you're running DDMsgReader from xtrn/DDMsgReader (the standard location) and you want // to save the configuration file there (rather than sbbs/mods), you can use one of the @@ -18,7 +18,7 @@ require("sbbsdefs.js", "P_NONE"); require("uifcdefs.js", "UIFC_INMSG"); -if (!uifc.init("DigDist. Message Reader 1.96L Configurator")) +if (!uifc.init("DigDist. Message Reader 1.96M Configurator")) { print("Failed to initialize uifc"); exit(1); diff --git a/xtrn/DDMsgReader/readme.txt b/xtrn/DDMsgReader/readme.txt index a87948a78ce9e4d3e9f147f3525e8278aef6dda8..62aad447f0ee134c46cbb3a83d2325229d905604 100644 --- a/xtrn/DDMsgReader/readme.txt +++ b/xtrn/DDMsgReader/readme.txt @@ -1,6 +1,6 @@ Digital Distortion Message Reader - Version 1.96L - Release date: 2025-02-18 + Version 1.96M + Release date: 2025-03-28 by diff --git a/xtrn/DDMsgReader/revision_history.txt b/xtrn/DDMsgReader/revision_history.txt index ffc280829eaab56e537713fa08e567c6e37e8560..7bb7e1531e4c57d7165fe908f7c80c4e71e1768b 100644 --- a/xtrn/DDMsgReader/revision_history.txt +++ b/xtrn/DDMsgReader/revision_history.txt @@ -5,6 +5,8 @@ Revision History (change log) ============================= Version Date Description ------- ---- ----------- +1.96M 2025-03-28 When reading messages, only mark it as read if it's to the + current user, including when reading sent email. 1.96L 2025-02-18 After replying to a message, when it shows the status & pauses for input, a Q or Ctrl-C will now exit, and not be ignored.