diff options
author | Mario <mario@mariovavti.com> | 2020-09-21 09:14:39 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-09-21 11:27:23 +0200 |
commit | 759f297aae85f693fe2463fc9057f4e2b27a9668 (patch) | |
tree | b4ae36e12d27d682796c1fcd2f6142ba22e7bf9c | |
parent | 88b014e9a759406c3a496f7b1a8d6b4284c940ff (diff) | |
download | volse-hubzilla-759f297aae85f693fe2463fc9057f4e2b27a9668.tar.gz volse-hubzilla-759f297aae85f693fe2463fc9057f4e2b27a9668.tar.bz2 volse-hubzilla-759f297aae85f693fe2463fc9057f4e2b27a9668.zip |
5.0RC testing: provide hubloc_id_url for new created zot hublocs
(cherry picked from commit 1a41c44c2f54d7ee4f1ee2597c6e3ff3de3450f7)
-rw-r--r-- | include/channel.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/channel.php b/include/channel.php index 05f1bd34b..45000cdff 100644 --- a/include/channel.php +++ b/include/channel.php @@ -341,6 +341,7 @@ function create_identity($arr) { 'hubloc_guid' => $guid, 'hubloc_guid_sig' => $zsig, 'hubloc_hash' => $zhash, + 'hubloc_id_url' => channel_url($ret['channel']), 'hubloc_addr' => channel_reddress($ret['channel']), 'hubloc_primary' => intval($primary), 'hubloc_url' => z_root(), @@ -360,7 +361,7 @@ function create_identity($arr) { 'hubloc_guid' => $guid, 'hubloc_guid_sig' => $sig, 'hubloc_hash' => $hash, - 'hubloc_id_url' => channel_url($ret['channel']), + 'hubloc_id_url' => channel_url($ret['channel']), 'hubloc_addr' => channel_reddress($ret['channel']), 'hubloc_primary' => intval($primary), 'hubloc_url' => z_root(), |