diff options
-rw-r--r-- | src/M2F.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/M2F.php b/src/M2F.php index 0c95c84..8318461 100644 --- a/src/M2F.php +++ b/src/M2F.php @@ -13,20 +13,20 @@ $msg = new MailmanMessage($input); $bridge = new Bridge(); -$seen = !$bridge->registerMessage($msg->getMessageId(), - $msg->getInReplyTo(), - $msg->getReferences()); +$messageId = $msg->getMessageId(); +$inReplyTo = $msg->getInReplyTo(); +$rererences = $msg->getReferences(); + +$seen = !$bridge->registerMessage($messageId, $inReplyTo, $references); if ($seen) { # This message has already been processed. - print 'Message id already seen, skipping: ' . $msg->getMessageId() . "\n"; + print 'Message id already seen, skipping: ' . $messageId . "\n"; exit; } $phpbb = new PhpBB3(); -$inReplyTo = $msg->getInReplyTo(); - $forumId = $topicId = -1; $postType = null; |