aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-04-12 17:43:27 -0700
committerzotlabs <mike@macgirvin.com>2017-04-12 17:43:27 -0700
commitda07108be9a90c4729d2c7d888df7358dc795ed6 (patch)
tree59e667b3c92cbd98cabbecd437a0725f27c92fa1
parentd7f4526a00dba2c6a97bc4c231f57c7aa179a691 (diff)
downloadvolse-hubzilla-da07108be9a90c4729d2c7d888df7358dc795ed6.tar.gz
volse-hubzilla-da07108be9a90c4729d2c7d888df7358dc795ed6.tar.bz2
volse-hubzilla-da07108be9a90c4729d2c7d888df7358dc795ed6.zip
make sure the new fields don't leak through sync packets and break older versions
-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']) {