diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-02-09 06:58:12 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-02-09 06:58:12 +0100 |
commit | 2227de5f65dcf2a1d8e3493291706ec76fb16640 (patch) | |
tree | 65941b02757b934adf96af53dc26eeed65a80b0b /Zotlabs/Daemon | |
parent | 384cb215beebb2cbd7ad5b32da551ebde1f3a6e0 (diff) | |
parent | 3dfafb710c901cd78b75681e39156a9f018b1ac9 (diff) | |
download | volse-hubzilla-2227de5f65dcf2a1d8e3493291706ec76fb16640.tar.gz volse-hubzilla-2227de5f65dcf2a1d8e3493291706ec76fb16640.tar.bz2 volse-hubzilla-2227de5f65dcf2a1d8e3493291706ec76fb16640.zip |
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'Zotlabs/Daemon')
-rw-r--r-- | Zotlabs/Daemon/Notifier.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Daemon/Notifier.php b/Zotlabs/Daemon/Notifier.php index b168db5ae..957b859af 100644 --- a/Zotlabs/Daemon/Notifier.php +++ b/Zotlabs/Daemon/Notifier.php @@ -618,8 +618,8 @@ class Notifier { $packet = zot_build_packet($channel,$packet_type,(($packet_recips) ? $packet_recips : null)); } if($packet_type === 'keychange') { - $packet = zot_build_packet($channel,$packet_type,(($packet_recips) ? $packet_recips : null)); $pmsg = get_pconfig($channel['channel_id'],'system','keychange'); + $packet = zot_build_packet($channel,$packet_type,(($packet_recips) ? $packet_recips : null)); } elseif($packet_type === 'request') { $env = (($hub_env && $hub_env[$hub['hubloc_host'] . $hub['hubloc_sitekey']]) ? $hub_env[$hub['hubloc_host'] . $hub['hubloc_sitekey']] : ''); @@ -640,7 +640,7 @@ class Notifier { } else { $env = (($hub_env && $hub_env[$hub['hubloc_host'] . $hub['hubloc_sitekey']]) ? $hub_env[$hub['hubloc_host'] . $hub['hubloc_sitekey']] : ''); - $packet = zot_build_packet($channel,'notify',$env,(($private) ? $hub['hubloc_sitekey'] : null), $hub['site_crypto'],$hash); + $packet = zot6_build_packet($channel,'notify',$env, json_encode($encoded_item), (($private) ? $hub['hubloc_sitekey'] : null), $hub['site_crypto'],$hash); queue_insert( [ 'hash' => $hash, |