diff options
author | zotlabs <mike@macgirvin.com> | 2017-04-12 17:43:27 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-04-12 18:46:41 -0700 |
commit | 91d0f871817ba79131d4b55c7a9f8e2eac9eb8d4 (patch) | |
tree | 19fac4cff3eca09c4d198b698577875fedbba807 /include | |
parent | 1c32564536cbfa12bd21a1c8161921b13d7dcc66 (diff) | |
download | volse-hubzilla-91d0f871817ba79131d4b55c7a9f8e2eac9eb8d4.tar.gz volse-hubzilla-91d0f871817ba79131d4b55c7a9f8e2eac9eb8d4.tar.bz2 volse-hubzilla-91d0f871817ba79131d4b55c7a9f8e2eac9eb8d4.zip |
make sure the new fields don't leak through sync packets and break older versions
Diffstat (limited to 'include')
-rw-r--r-- | include/zot.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/zot.php b/include/zot.php index 3e1b27c83..20a25ce3b 100644 --- a/include/zot.php +++ b/include/zot.php @@ -2956,6 +2956,8 @@ function build_sync_packet($uid = 0, $packet = null, $groups_changed = false) { return; $channel = $r[0]; + unset($channel['channel_password']); + unset($channel['channel_salt']); translate_channel_perms_outbound($channel); if($packet && array_key_exists('abook',$packet) && $packet['abook']) { |