Merge branch 'zot6_fixes' into 'dev'

macke mod chanview aware of zot6

See merge request hubzilla/core!1487
This commit is contained in:
Max Kostikov 2019-01-24 21:57:14 +01:00
commit 7a3ad30bfa

View File

@ -106,7 +106,7 @@ class Chanview extends \Zotlabs\Web\Controller {
if (\App::$poi) { if (\App::$poi) {
$url = \App::$poi['xchan_url']; $url = \App::$poi['xchan_url'];
if(\App::$poi['xchan_network'] === 'zot') { if(in_array(\App::$poi['xchan_network'], ['zot', 'zot6'])) {
$is_zot = true; $is_zot = true;
} }
if(local_channel()) { if(local_channel()) {