diff options
author | friendica <info@friendica.com> | 2012-04-27 16:23:25 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-04-27 16:23:25 -0700 |
commit | ecc4962bd1455d4ded6570f6d08ccab7e838fe8b (patch) | |
tree | 89bc91fba14b0c4a0f4c95403d24d9d381d969df | |
parent | b3750ab54e126b499bb067f39dd55bade46b3267 (diff) | |
download | volse-hubzilla-ecc4962bd1455d4ded6570f6d08ccab7e838fe8b.tar.gz volse-hubzilla-ecc4962bd1455d4ded6570f6d08ccab7e838fe8b.tar.bz2 volse-hubzilla-ecc4962bd1455d4ded6570f6d08ccab7e838fe8b.zip |
pass zrl to dfrn_request as fallback
-rw-r--r-- | mod/dfrn_request.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index 79583ea18..18798aa15 100644 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -753,6 +753,11 @@ function dfrn_request_content(&$a) { $myaddr = ((x($_GET,'address')) ? $_GET['address'] : ''); } + // last, try a zrl + if(! strlen($myaddr)) + $myaddr = get_my_url(); + + $target_addr = $a->profile['nickname'] . '@' . substr(z_root(), strpos(z_root(),'://') + 3 ); |