make sure the new fields don't leak through sync packets and break older versions

This commit is contained in:
zotlabs 2017-04-12 17:43:27 -07:00
parent d7f4526a00
commit da07108be9

View File

@ -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']) {