diff options
author | zottel <github@zottel.net> | 2012-04-28 02:30:20 +0200 |
---|---|---|
committer | zottel <github@zottel.net> | 2012-04-28 02:30:20 +0200 |
commit | 43f9ea7cfc77d2dcb5fd6f8d7a90b1511cc67720 (patch) | |
tree | f23edf82793ede551df581a36f8bc2370770c092 /mod/dfrn_request.php | |
parent | edc7e571b710d0ce24587c529d6e51ee7781d638 (diff) | |
parent | c3f70a9e56151b8594b3485cc8b12e4d26ac6773 (diff) | |
download | volse-hubzilla-43f9ea7cfc77d2dcb5fd6f8d7a90b1511cc67720.tar.gz volse-hubzilla-43f9ea7cfc77d2dcb5fd6f8d7a90b1511cc67720.tar.bz2 volse-hubzilla-43f9ea7cfc77d2dcb5fd6f8d7a90b1511cc67720.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/dfrn_request.php')
-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 ); |