From 9b28769f4b669763409f0435b4cd9e25217858ef Mon Sep 17 00:00:00 2001 From: "Rob Swindell (on Windows 11)" <rob@synchro.net> Date: Sat, 16 Mar 2024 20:09:39 -0700 Subject: [PATCH] Bugfix: actually use the SMB netattr 'HOLD' attribute flag ... when exporting from SMB to .msg ("stored message") file --- src/sbbs3/sbbsecho.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sbbs3/sbbsecho.c b/src/sbbs3/sbbsecho.c index cad3d9b1ff..18a750770d 100644 --- a/src/sbbs3/sbbsecho.c +++ b/src/sbbs3/sbbsecho.c @@ -1109,6 +1109,8 @@ int create_netmail(const char *to, const smbmsg_t* msg, const char *subject, con if(msg != NULL) { if(msg->hdr.netattr&NETMSG_CRASH) hdr.attr|=FIDO_CRASH; + if(msg->hdr.netattr&NETMSG_HOLD) + hdr.attr|=FIDO_HOLD; if(msg->hdr.auxattr&MSG_FILEATTACH) hdr.attr|=FIDO_FILE; if(msg->hdr.auxattr&MSG_FILEREQUEST) -- GitLab