diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-12-27 21:08:28 -0800 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-12-27 21:08:28 -0800 |
commit | cf5df259e50e708f336f85d01d4ae3cb62ade64f (patch) | |
tree | fcf999e770a1cc4f07d3c047a70c3fc4c73c731c /include/notifier.php | |
parent | 5a229234e79597202954cb4604bb27ec83966d56 (diff) | |
download | volse-hubzilla-cf5df259e50e708f336f85d01d4ae3cb62ade64f.tar.gz volse-hubzilla-cf5df259e50e708f336f85d01d4ae3cb62ade64f.tar.bz2 volse-hubzilla-cf5df259e50e708f336f85d01d4ae3cb62ade64f.zip |
refresh issue
Diffstat (limited to 'include/notifier.php')
-rw-r--r-- | include/notifier.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/notifier.php b/include/notifier.php index 50981df9d..036fcbfc8 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -188,6 +188,8 @@ function notifier_run($argv, $argc){ $recipients[] = $r[0]['abook_xchan']; $private = false; $packet_type = 'refresh'; + $packet_recips = array(array('guid' => $r[0]['xchan_guid'],'guid_sig' => $r[0]['xchan_guid_sig'],'hash' => $r[0]['xchan_hash'])); + } } } @@ -547,7 +549,7 @@ function notifier_run($argv, $argc){ $packet = null; if($packet_type === 'refresh' || $packet_type === 'purge') { - $packet = zot_build_packet($channel,$packet_type); + $packet = zot_build_packet($channel,$packet_type,(($packet_recips) ? $packet_recips : null)); } elseif($packet_type === 'request') { $packet = zot_build_packet($channel,$packet_type,$env_recips,$hub['hubloc_sitekey'],$hash, |