diff options
author | friendica <info@friendica.com> | 2013-12-04 18:30:14 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-12-04 18:30:14 -0800 |
commit | 13feafce17059f95ab00c8a84af27bc16c97d442 (patch) | |
tree | 3271b05d94d09d371f87b1059626bdf8dbc68068 /include/identity.php | |
parent | 307fcac86d8b6627389bdfaae048bcb24e146c72 (diff) | |
download | volse-hubzilla-13feafce17059f95ab00c8a84af27bc16c97d442.tar.gz volse-hubzilla-13feafce17059f95ab00c8a84af27bc16c97d442.tar.bz2 volse-hubzilla-13feafce17059f95ab00c8a84af27bc16c97d442.zip |
add poco and follow to default xchan creation
Diffstat (limited to 'include/identity.php')
-rw-r--r-- | include/identity.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/identity.php b/include/identity.php index f8717b1f6..0856add44 100644 --- a/include/identity.php +++ b/include/identity.php @@ -243,7 +243,7 @@ function create_identity($arr) { $newuid = $ret['channel']['channel_id']; - $r = q("insert into xchan ( xchan_hash, xchan_guid, xchan_guid_sig, xchan_pubkey, xchan_photo_l, xchan_photo_m, xchan_photo_s, xchan_addr, xchan_url, xchan_follow, xchan_name, xchan_network, xchan_photo_date, xchan_name_date ) values ('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s')", + $r = q("insert into xchan ( xchan_hash, xchan_guid, xchan_guid_sig, xchan_pubkey, xchan_photo_l, xchan_photo_m, xchan_photo_s, xchan_addr, xchan_url, xchan_follow, xchan_connurl, xchan_name, xchan_network, xchan_photo_date, xchan_name_date ) values ('%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s')", dbesc($hash), dbesc($guid), dbesc($sig), @@ -254,6 +254,7 @@ function create_identity($arr) { dbesc($ret['channel']['channel_address'] . '@' . get_app()->get_hostname()), dbesc(z_root() . '/channel/' . $ret['channel']['channel_address']), dbesc(z_root() . '/follow?f=&url=%s'), + dbesc(z_root() . '/poco/' . $ret['channel']['channel_address']), dbesc($ret['channel']['channel_name']), dbesc('zot'), dbesc(datetime_convert()), |