mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:35:30 +00:00
Merge pull request 'chanview: zidify if the connection is on a known OWA server' (#123) from abanink/streams:owa_zidify_chanview into dev
Reviewed-on: https://codeberg.org/streams/streams/pulls/123
This commit is contained in:
commit
85fdb55309
1 changed files with 1 additions and 2 deletions
|
@ -15,7 +15,6 @@ class Chanview extends Controller
|
||||||
|
|
||||||
public function get()
|
public function get()
|
||||||
{
|
{
|
||||||
|
|
||||||
$load_outbox = false;
|
$load_outbox = false;
|
||||||
|
|
||||||
$observer = App::get_observer();
|
$observer = App::get_observer();
|
||||||
|
@ -111,7 +110,7 @@ class Chanview extends Controller
|
||||||
$connected = false;
|
$connected = false;
|
||||||
|
|
||||||
$url = App::$poi['xchan_url'];
|
$url = App::$poi['xchan_url'];
|
||||||
if (in_array(App::$poi['xchan_network'],['nomad','zot6'])) {
|
if (isOWAEnabled($url)) {
|
||||||
$is_zot = true;
|
$is_zot = true;
|
||||||
}
|
}
|
||||||
if (local_channel()) {
|
if (local_channel()) {
|
||||||
|
|
Loading…
Reference in a new issue