diff options
Diffstat (limited to 'include/zot.php')
-rw-r--r-- | include/zot.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/zot.php b/include/zot.php index b313e99a9..c332579c1 100644 --- a/include/zot.php +++ b/include/zot.php @@ -85,7 +85,7 @@ function zot_notify($channel,$url,$type = 'notify',$recipients = null, $remote_k * */ -function zot_build_packet($channel,$type = 'notify',$recipients = null, $remote_key = null) { +function zot_build_packet($channel,$type = 'notify',$recipients = null, $remote_key = null, $secret = null) { $data = array( 'type' => $type, @@ -103,6 +103,9 @@ function zot_build_packet($channel,$type = 'notify',$recipients = null, $remote_ if($recipients) $data['recipients'] = $recipients; + if($secret) + $data['secret'] = $secret; + // Hush-hush ultra top-secret mode if($remote_key) { |