summaryrefslogtreecommitdiff
path: root/WebMail.c
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-12-08 12:30:40 +0000
committerDave Hibberd <d@vehibberd.com>2023-12-08 12:30:40 +0000
commit3c4fd182da16ee23321c35fa7ea3b9fecd13cb4e (patch)
tree443342a056f361262478f1a93f8adccaf6d52598 /WebMail.c
parent63e373575e2d9affd3604bab5a9c524cd81ab0d8 (diff)
parent397da35dac26c162055adf2f0d3bc6c4567d1e0c (diff)
Merge branch 'debian/latest' into debian/bookworm
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();