Skip to content

Commit 590796c

Browse files
committed
Merge pull request #191 from dgets/master
Oopsie; added Mail> fixes
2 parents 10363a5 + fd70585 commit 590796c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

load/dmail.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ uMail = {
4848
"Unable to read message header(s): " + e.message, 2);
4949
}
5050

51-
if (mHdr.to_ext == user.number) {
51+
if ((mHdr.to_ext == user.number) ||
52+
(mHdr.from_ext == user.number)) {
5253
if (userSettings.debug.message_scan) {
5354
console.putmsg("Pushing " + i + " to list\n");
5455
}
@@ -160,7 +161,8 @@ uMail = {
160161
}
161162

162163
fHdr = "\n" + magenta + high_intensity + mHdr.date + green +
163-
" from " + cyan + mHdr.from + "\n" + green;
164+
" from " + cyan + mHdr.from + green + " to " + cyan +
165+
mHdr.to + "\n" + green;
164166

165167
//if (breaks) {
166168
console.putmsg(fHdr + mBody, P_WORDWRAP); // add fHdr into

0 commit comments

Comments
 (0)