diff options
author | Friendika <info@friendika.com> | 2011-04-01 14:39:09 -0700 |
---|---|---|
committer | Friendika <info@friendika.com> | 2011-04-01 14:39:09 -0700 |
commit | 4b356e59ec36a2a2ef1a0224ecf86254090466e3 (patch) | |
tree | 72d83fa269369c0819360c7c45f4ea28995c16dd /mod/dfrn_poll.php | |
parent | e33b6e0b5a1f444786d00a2666be1b23dc659c8a (diff) | |
download | volse-hubzilla-4b356e59ec36a2a2ef1a0224ecf86254090466e3.tar.gz volse-hubzilla-4b356e59ec36a2a2ef1a0224ecf86254090466e3.tar.bz2 volse-hubzilla-4b356e59ec36a2a2ef1a0224ecf86254090466e3.zip |
allow other destinations according to protocol
Diffstat (limited to 'mod/dfrn_poll.php')
-rw-r--r-- | mod/dfrn_poll.php | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mod/dfrn_poll.php b/mod/dfrn_poll.php index 82ad70907..25b28c63c 100644 --- a/mod/dfrn_poll.php +++ b/mod/dfrn_poll.php @@ -424,9 +424,8 @@ function dfrn_poll_content(&$a) { } if(($type === 'profile') && (strlen($sec))) { - // URL reply - + // URL reply if($dfrn_version < 2.2) { $s = fetch_url($r[0]['poll'] @@ -455,9 +454,12 @@ function dfrn_poll_content(&$a) { $dest = $a->get_baseurl() . '/photos/' . $profile; break; case 'status': - default: + case '': $dest = $a->get_baseurl() . '/profile/' . $profile; break; + default: + $dest = $destination_url; + break; } logger("dfrn_poll: sec profile: " . $s, LOGGER_DATA); |