aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-04-26 00:24:58 -0700
committerzotlabs <mike@macgirvin.com>2019-04-26 00:24:58 -0700
commit0c1e80320887f9e1152edc4017f0639080ede6cc (patch)
tree5b814c5ff20140210cd14236cd8d5f555f6d571e /include/channel.php
parent96785e8df1b325a32c93ebebf67ab5208f4088dc (diff)
downloadvolse-hubzilla-0c1e80320887f9e1152edc4017f0639080ede6cc.tar.gz
volse-hubzilla-0c1e80320887f9e1152edc4017f0639080ede6cc.tar.bz2
volse-hubzilla-0c1e80320887f9e1152edc4017f0639080ede6cc.zip
import/export zot6 hublocs+xchans
Diffstat (limited to 'include/channel.php')
-rw-r--r--include/channel.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/channel.php b/include/channel.php
index 47a7b5a0e..e4b6df47b 100644
--- a/include/channel.php
+++ b/include/channel.php
@@ -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);
}