Skip to content

Commit

Permalink
Merge pull request #190 from dgets/hotfix-mail-from-recip
Browse files Browse the repository at this point in the history
Closed #114, closed #181; revamped Mail> to show messages from sender…
  • Loading branch information
dgets committed Jul 28, 2015
2 parents efa6f45 + 6d95c43 commit fd70585
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions load/dmail.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ uMail = {
"Unable to read message header(s): " + e.message, 2);
}

if (mHdr.to_ext == user.number) {
if ((mHdr.to_ext == user.number) ||
(mHdr.from_ext == user.number)) {
if (userSettings.debug.message_scan) {
console.putmsg("Pushing " + i + " to list\n");
}
Expand Down Expand Up @@ -160,7 +161,8 @@ uMail = {
}

fHdr = "\n" + magenta + high_intensity + mHdr.date + green +
" from " + cyan + mHdr.from + "\n" + green;
" from " + cyan + mHdr.from + green + " to " + cyan +
mHdr.to + "\n" + green;

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

0 comments on commit fd70585

Please sign in to comment.