simplify chanview authentication and make sure it carries through multiple generations

This commit is contained in:
friendica 2014-01-22 03:01:28 -08:00
parent 3f49114a05
commit 3914200223
2 changed files with 5 additions and 9 deletions

View file

@ -78,14 +78,10 @@ function chanview_content(&$a) {
return; return;
} }
if(is_foreigner($a->poi['xchan_hash']))
$url = $a->poi['xchan_url']; $url = $a->poi['xchan_url'];
else { if($observer)
$url = (($observer) $url = zid($url);
? z_root() . '/magic?f=&dest=' . $a->poi['xchan_url'] . '&addr=' . $a->poi['xchan_addr']
: $a->poi['xchan_url']
);
}
// let somebody over-ride the iframed viewport presentation // let somebody over-ride the iframed viewport presentation

View file

@ -1 +1 @@
2014-01-21.564 2014-01-22.565