mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 04:15:12 +00:00
simplify chanview authentication and make sure it carries through multiple generations
This commit is contained in:
parent
3f49114a05
commit
3914200223
2 changed files with 5 additions and 9 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
2014-01-21.564
|
2014-01-22.565
|
||||||
|
|
Loading…
Reference in a new issue