diff options
author | Zot <mike@macgirvin.com> | 2019-04-26 07:34:58 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2019-04-26 10:42:09 +0200 |
commit | 5f73a46c053a362bc97323df2b442f9cfcbab740 (patch) | |
tree | 08f9d480c1383870b2908408cd1feacebdf43cf6 /include | |
parent | b782c6bd162a94becfb7e81feb2edc375b0a3741 (diff) | |
download | volse-hubzilla-5f73a46c053a362bc97323df2b442f9cfcbab740.tar.gz volse-hubzilla-5f73a46c053a362bc97323df2b442f9cfcbab740.tar.bz2 volse-hubzilla-5f73a46c053a362bc97323df2b442f9cfcbab740.zip |
import/export zot6 hublocs+xchans
(cherry picked from commit e2dfa1d72f36ecc85059a7f2a38084a4919eb704)
Diffstat (limited to 'include')
-rw-r--r-- | include/channel.php | 7 |
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); } |