more mail stuff

- todo: alot, but mainly track new/read and get local working
This commit is contained in:
zefie
2021-11-15 00:51:31 -05:00
parent a088ea1e42
commit ee76fd5190
22 changed files with 882 additions and 104 deletions

View File

@@ -36,7 +36,7 @@ class WTVRegister {
try {
var temp_session_data_file = this.fs.readFileSync(this.session_store_dir + this.path.sep + file, 'Utf8');
var temp_session_data = JSON.parse(temp_session_data_file);
if (temp_session_data.subscriber_username == username) username_match = true;
if (temp_session_data.subscriber_username.toLowerCase() == username.toLowerCase()) username_match = true;
} catch (e) {
console.error(" # Error parsing Session Data JSON", file, e);
username_match = true;