summaryrefslogtreecommitdiff
path: root/src/Util.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Util.php')
-rw-r--r--src/Util.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Util.php b/src/Util.php
index 62981b2..2384911 100644
--- a/src/Util.php
+++ b/src/Util.php
@@ -4,8 +4,8 @@ function throw_if_null($arg) {
if ($arg === null) throw new Exception('argument is null');
}
-function build_message_id($postId, $forumHost) {
- return '<' . time() . ".bridge.$postId@$forumHost>";
+function build_message_id($time, $postId, $forumHost) {
+ return "<$time.$postId.bridge@$forumHost>";
}
?>