aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-09-21 09:14:39 +0000
committerMario <mario@mariovavti.com>2020-09-21 09:14:39 +0000
commit1a41c44c2f54d7ee4f1ee2597c6e3ff3de3450f7 (patch)
tree40336a286013c59807da8c94124cdcfc004fe9a0 /include
parentf422362747e6def2feffe99aa8a2e555be3b409b (diff)
downloadvolse-hubzilla-1a41c44c2f54d7ee4f1ee2597c6e3ff3de3450f7.tar.gz
volse-hubzilla-1a41c44c2f54d7ee4f1ee2597c6e3ff3de3450f7.tar.bz2
volse-hubzilla-1a41c44c2f54d7ee4f1ee2597c6e3ff3de3450f7.zip
5.0RC testing: provide hubloc_id_url for new created zot hublocs
Diffstat (limited to 'include')
-rw-r--r--include/channel.php3
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(),