Commit 9cefd035 authored by rswindell's avatar rswindell
Browse files

Include the "KillSent" attribute in the displayed message attributes.

Don't suppress the display of the "from network address" just because there's
an '@' in the "from name" - some Internet email (e.g. SPAM) "From" names
include '@'s to try and follow the reader. <sigh>
parent 880c8717
......@@ -115,6 +115,7 @@ void sbbs_t::show_msgattr(smbmsg_t* msg)
,auxattr&(MSG_FILEATTACH|MSG_MIMEATTACH) ? "Attach " :nulstr
,netattr&MSG_SENT ? "Sent " :nulstr
,netattr&MSG_INTRANSIT ? "InTransit ":nulstr
,netattr&MSG_KILLSENT ? "KillSent " :nulstr
);
}
......@@ -205,7 +206,7 @@ void sbbs_t::show_msghdr(smb_t* smb, smbmsg_t* msg, const char* subject, const c
bprintf(pmode, msghdr_text(msg, MsgFrom), current_msg_from);
if(msg->from_ext)
bprintf(text[MsgFromExt],msg->from_ext);
if(msg->from_net.addr!=NULL && (current_msg_from == NULL || strchr(current_msg_from,'@')==NULL))
if(msg->from_net.addr!=NULL)
bprintf(text[MsgFromNet],smb_netaddrstr(&msg->from_net,str));
}
if(!(msg->hdr.attr&MSG_POLL) && (msg->upvotes || msg->downvotes))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment