aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/chanview.php12
-rw-r--r--version.inc2
2 files changed, 5 insertions, 9 deletions
diff --git a/mod/chanview.php b/mod/chanview.php
index ae22212b9..ca3410c8f 100644
--- a/mod/chanview.php
+++ b/mod/chanview.php
@@ -78,14 +78,10 @@ function chanview_content(&$a) {
return;
}
- if(is_foreigner($a->poi['xchan_hash']))
- $url = $a->poi['xchan_url'];
- else {
- $url = (($observer)
- ? z_root() . '/magic?f=&dest=' . $a->poi['xchan_url'] . '&addr=' . $a->poi['xchan_addr']
- : $a->poi['xchan_url']
- );
- }
+
+ $url = $a->poi['xchan_url'];
+ if($observer)
+ $url = zid($url);
// let somebody over-ride the iframed viewport presentation
diff --git a/version.inc b/version.inc
index 02e793fcd..a641cb0f8 100644
--- a/version.inc
+++ b/version.inc
@@ -1 +1 @@
-2014-01-21.564
+2014-01-22.565