summaryrefslogtreecommitdiff
path: root/MBLRoutines.c
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2023-12-28 10:31:09 +0000
committerDave Hibberd <d@vehibberd.com>2023-12-28 10:31:09 +0000
commit7a61c594e1bf9fd62e156d3d8db772fe7c4bfd03 (patch)
tree19d55bf6fcd52ce7bd67c10591c04a3cd2549b56 /MBLRoutines.c
parent2ccd083256a3a05ae1f402a0ef259fbfff709088 (diff)
New upstream version 6.0.24.25upstream/6.0.24.25
Diffstat (limited to 'MBLRoutines.c')
-rw-r--r--MBLRoutines.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/MBLRoutines.c b/MBLRoutines.c
index d116893..e7ae622 100644
--- a/MBLRoutines.c
+++ b/MBLRoutines.c
@@ -23,6 +23,9 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
#include "bpqmail.h"
+void SendMessageReadEvent(struct UserInfo * user, struct MsgInfo * Msg);
+
+
VOID ProcessMBLLine(CIRCUIT * conn, struct UserInfo * user, UCHAR* Buffer, int len)
{
Buffer[len] = 0;
@@ -86,6 +89,7 @@ VOID ProcessMBLLine(CIRCUIT * conn, struct UserInfo * user, UCHAR* Buffer, int l
FBBputs(conn, ">\r");
Msg->status = 'Y'; // Mark as read
SaveMessageDatabase();
+ SendMessageReadEvent(user->Call, Msg);
}
else
{