summaryrefslogtreecommitdiff
path: root/WebMail.c
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-12-08 12:26:52 +0000
committerDave Hibberd <d@vehibberd.com>2023-12-08 12:26:52 +0000
commit2ccd083256a3a05ae1f402a0ef259fbfff709088 (patch)
treebe574dcfe62344d0499d5ebb902b1cc9a3fd6cb3 /WebMail.c
parent120df97dc7f30ce81623cc952ba2bd21b86f2425 (diff)
New upstream version 6.0.24.22upstream/6.0.24.22
Diffstat (limited to 'WebMail.c')
-rw-r--r--WebMail.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/WebMail.c b/WebMail.c
index 1b4cd33..f626975 100644
--- a/WebMail.c
+++ b/WebMail.c
@@ -2773,6 +2773,9 @@ VOID SaveNewMessage(struct HTTPConnectionInfo * Session, char * MsgPtr, char * R
BuildNNTPList(Msg); // Build NNTP Groups list
+ if (Msg->status != 'H' && Msg->type == 'B' && memcmp(Msg->fbbs, zeros, NBMASK) != 0)
+ Msg->status = '$'; // Has forwarding
+
if (EnableUI)
SendMsgUI(Msg);
@@ -3698,6 +3701,9 @@ VOID WriteOneRecipient(struct MsgInfo * Msg, WebMailInfo * WebMail, int MsgLen,
MatchMessagetoBBSList(Msg, 0);
+ if (Msg->status != 'H' && Msg->type == 'B' && memcmp(Msg->fbbs, zeros, NBMASK) != 0)
+ Msg->status = '$'; // Has forwarding
+
BuildNNTPList(Msg); // Build NNTP Groups list
}
@@ -4278,6 +4284,9 @@ VOID BuildMessageFromHTMLInput(struct HTTPConnectionInfo * Session, char * Reply
MatchMessagetoBBSList(Msg, 0);
+ if (Msg->status != 'H' && Msg->type == 'B' && memcmp(Msg->fbbs, zeros, NBMASK) != 0)
+ Msg->status = '$'; // Has forwarding
+
BuildNNTPList(Msg); // Build NNTP Groups list
SaveMessageDatabase();