summaryrefslogtreecommitdiff
path: root/src/M2F.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/M2F.php')
-rw-r--r--src/M2F.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/M2F.php b/src/M2F.php
index fd2901f..0e3fed8 100644
--- a/src/M2F.php
+++ b/src/M2F.php
@@ -19,6 +19,7 @@ $seen = $bridge->registerMessage($msg->getMessageId(),
if ($seen) {
# This message has already been processed.
+ print "Message id already seen, skipping.\n";
exit;
}
@@ -46,6 +47,7 @@ else {
# Post the message to the forum
$phpbb->postMessage($postType, $forumId, $topicId, $msg);
+
$bridge->setPostId($messageId, $postId);
?>