aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-14 18:02:34 -0700
committerfriendica <info@friendica.com>2014-10-14 18:02:34 -0700
commit2db7d88e285f2deb6d75d961bccfa396cd4eaae6 (patch)
treea32df171e9ab09c63e7a582db9f589c73fa3527d /include/identity.php
parent903f7e73fbc9a36c0a073ff1c9f05555a030a34e (diff)
downloadvolse-hubzilla-2db7d88e285f2deb6d75d961bccfa396cd4eaae6.tar.gz
volse-hubzilla-2db7d88e285f2deb6d75d961bccfa396cd4eaae6.tar.bz2
volse-hubzilla-2db7d88e285f2deb6d75d961bccfa396cd4eaae6.zip
this is the reason Diaspora forum tagging was broken
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/identity.php b/include/identity.php
index 4417f4028..07bfaebbd 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -291,8 +291,8 @@ function create_identity($arr) {
// Create a verified hub location pointing to this site.
$r = q("insert into hubloc ( hubloc_guid, hubloc_guid_sig, hubloc_hash, hubloc_addr, hubloc_flags,
- hubloc_url, hubloc_url_sig, hubloc_host, hubloc_callback, hubloc_sitekey )
- values ( '%s', '%s', '%s', '%s', %d, '%s', '%s', '%s', '%s', '%s' )",
+ hubloc_url, hubloc_url_sig, hubloc_host, hubloc_callback, hubloc_sitekey, hubloc_network )
+ values ( '%s', '%s', '%s', '%s', %d, '%s', '%s', '%s', '%s', '%s', '%s' )",
dbesc($guid),
dbesc($sig),
dbesc($hash),
@@ -302,7 +302,8 @@ function create_identity($arr) {
dbesc(base64url_encode(rsa_sign(z_root(),$ret['channel']['channel_prvkey']))),
dbesc(get_app()->get_hostname()),
dbesc(z_root() . '/post'),
- dbesc(get_config('system','pubkey'))
+ dbesc(get_config('system','pubkey')),
+ dbesc('zot')
);
if(! $r)
logger('create_identity: Unable to store hub location');