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, 4 insertions, 0 deletions
diff --git a/src/Util.php b/src/Util.php
index 817e8a1..62981b2 100644
--- a/src/Util.php
+++ b/src/Util.php
@@ -4,4 +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>";
+}
+
?>