diff options
| author | Dave Hibberd <d@vehibberd.com> | 2023-12-08 12:30:40 +0000 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2023-12-08 12:30:40 +0000 |
| commit | 3c4fd182da16ee23321c35fa7ea3b9fecd13cb4e (patch) | |
| tree | 443342a056f361262478f1a93f8adccaf6d52598 /WebMail.c | |
| parent | 63e373575e2d9affd3604bab5a9c524cd81ab0d8 (diff) | |
| parent | 397da35dac26c162055adf2f0d3bc6c4567d1e0c (diff) | |
Merge branch 'debian/latest' into debian/bookworm
Diffstat (limited to 'WebMail.c')
| -rw-r--r-- | WebMail.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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();
|
