import/export zot6 hublocs+xchans

This commit is contained in:
Zot
2019-04-26 09:34:58 +02:00
committed by Mario
parent b57dcc74d1
commit e2dfa1d72f
2 changed files with 48 additions and 6 deletions

View File

@@ -873,6 +873,13 @@ function identity_basic_export($channel_id, $sections = null) {
$ret['abook'][$x]['abconfig'] = $abconfig;
translate_abook_perms_outbound($ret['abook'][$x]);
}
// pick up the zot6 xchan and hublocs also
if($ret['channel']['channel_portable_id']) {
$xchans[] = $ret['channel']['channel_portable_id'];
}
stringify_array_elms($xchans);
}