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

This commit is contained in:
zotlabs
2017-04-12 18:46:41 -07:00
parent 1c32564536
commit 91d0f87181
+2
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']) {