aboutsummaryrefslogtreecommitdiffstats
path: root/include/channel.php
diff options
context:
space:
mode:
authorZot <mike@macgirvin.com>2019-04-26 09:34:58 +0200
committerMario <mario@mariovavti.com>2019-04-26 09:34:58 +0200
commite2dfa1d72f36ecc85059a7f2a38084a4919eb704 (patch)
tree0cb26f646dd857d0061a0bf7d5749e7e5bdf9bf4 /include/channel.php
parentb57dcc74d1ea745938ea0da9d9145e87245900cf (diff)
downloadvolse-hubzilla-e2dfa1d72f36ecc85059a7f2a38084a4919eb704.tar.gz
volse-hubzilla-e2dfa1d72f36ecc85059a7f2a38084a4919eb704.tar.bz2
volse-hubzilla-e2dfa1d72f36ecc85059a7f2a38084a4919eb704.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);
}