summaryrefslogtreecommitdiff
path: root/WebMail.c
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-12-08 12:26:59 +0000
committerDave Hibberd <d@vehibberd.com>2023-12-08 12:26:59 +0000
commitfd1249b1e27896943e6f0558557ea55b9e87bd7e (patch)
tree756a6f7c89b22d9d92a175b430b4b323d94d3659 /WebMail.c
parentfda3d6ffaced810d4c98cf05dc2e29e934ed6eea (diff)
parent2ccd083256a3a05ae1f402a0ef259fbfff709088 (diff)
Update upstream source from tag 'upstream/6.0.24.22'
Update to upstream version '6.0.24.22' with Debian dir 0520fb299a06420760e7faf0173e3164bfbff640
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();