summaryrefslogtreecommitdiff
path: root/FBBRoutines.c
diff options
context:
space:
mode:
Diffstat (limited to 'FBBRoutines.c')
-rw-r--r--FBBRoutines.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/FBBRoutines.c b/FBBRoutines.c
index 051afe6..67ca4ee 100644
--- a/FBBRoutines.c
+++ b/FBBRoutines.c
@@ -24,7 +24,7 @@ along with LinBPQ/BPQ32. If not, see http://www.gnu.org/licenses
#include "bpqmail.h"
int32_t Encode(char * in, char * out, int32_t inlen, BOOL B1Protocol, int Compress);
-
+void MQTTMessageEvent(void* message);
int MaxRXSize = 99999;
int MaxTXSize = 99999;
@@ -807,6 +807,11 @@ VOID FlagSentMessages(CIRCUIT * conn, struct UserInfo * user)
FBBHeader->FwdMsg->datechanged=time(NULL);
}
+#ifndef NOMQTT
+ if (MQTT)
+ MQTTMessageEvent(FBBHeader->FwdMsg);
+#endif
+
FBBHeader->FwdMsg->Locked = 0; // Unlock
conn->UserPointer->ForwardingInfo->MsgCount--;
}