aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Fhublocs.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-11-05 09:50:55 +0000
committerMario <mario@mariovavti.com>2022-11-05 09:50:55 +0000
commit7fc9c83986d0ca0707c408b77f2acfb954532c42 (patch)
treef65e899b792ef86f99539b06232e5baf2fe80714 /Zotlabs/Module/Fhublocs.php
parent81b02d04b5c486ed5b23467b25e1441ed6d37da9 (diff)
parent5502f1cc63d87bed8198d360ae0e8e7c5fa58f44 (diff)
downloadvolse-hubzilla-7fc9c83986d0ca0707c408b77f2acfb954532c42.tar.gz
volse-hubzilla-7fc9c83986d0ca0707c408b77f2acfb954532c42.tar.bz2
volse-hubzilla-7fc9c83986d0ca0707c408b77f2acfb954532c42.zip
Merge branch 'dev'
Diffstat (limited to 'Zotlabs/Module/Fhublocs.php')
-rw-r--r--Zotlabs/Module/Fhublocs.php29
1 files changed, 15 insertions, 14 deletions
diff --git a/Zotlabs/Module/Fhublocs.php b/Zotlabs/Module/Fhublocs.php
index df847c835..a4d335a94 100644
--- a/Zotlabs/Module/Fhublocs.php
+++ b/Zotlabs/Module/Fhublocs.php
@@ -60,20 +60,21 @@ class Fhublocs extends \Zotlabs\Web\Controller {
$h = hubloc_store_lowlevel(
[
- 'hubloc_guid' => $rr['channel_guid'],
- 'hubloc_guid_sig' => $rr['channel_guid_sig'],
- 'hubloc_hash' => $rr['channel_hash'],
- 'hubloc_id_url' => channel_url($rr),
- 'hubloc_addr' => channel_reddress($rr),
- 'hubloc_primary' => intval($primary),
- 'hubloc_url' => z_root(),
- 'hubloc_url_sig' => Libzot::sign(z_root(), $rr['channel_prvkey']),
- 'hubloc_site_id' => Libzot::make_xchan_hash(z_root(), $sitekey),
- 'hubloc_host' => \App::get_hostname(),
- 'hubloc_callback' => z_root() . '/zot',
- 'hubloc_sitekey' => $sitekey,
- 'hubloc_network' => 'zot6',
- 'hubloc_updated' => datetime_convert()
+ 'hubloc_guid' => $rr['channel_guid'],
+ 'hubloc_guid_sig' => $rr['channel_guid_sig'],
+ 'hubloc_hash' => $rr['channel_hash'],
+ 'hubloc_id_url' => channel_url($rr),
+ 'hubloc_addr' => channel_reddress($rr),
+ 'hubloc_primary' => intval($primary),
+ 'hubloc_url' => z_root(),
+ 'hubloc_url_sig' => Libzot::sign(z_root(), $rr['channel_prvkey']),
+ 'hubloc_site_id' => Libzot::make_xchan_hash(z_root(), $sitekey),
+ 'hubloc_host' => \App::get_hostname(),
+ 'hubloc_callback' => z_root() . '/zot',
+ 'hubloc_sitekey' => $sitekey,
+ 'hubloc_network' => 'zot6',
+ 'hubloc_updated' => datetime_convert(),
+ 'hubloc_connected' => datetime_convert()
]
);