aboutsummaryrefslogtreecommitdiffstats
path: root/include/zot.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-12 17:43:27 -0700
committerzotlabs <mike@macgirvin.com>2017-04-12 18:46:41 -0700
commit91d0f871817ba79131d4b55c7a9f8e2eac9eb8d4 (patch)
tree19fac4cff3eca09c4d198b698577875fedbba807 /include/zot.php
parent1c32564536cbfa12bd21a1c8161921b13d7dcc66 (diff)
downloadvolse-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/zot.php')
-rw-r--r--include/zot.php2
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']) {