For private messages, use hush-hush ultra top-secret mode by default
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user