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:
(streams) 2023-11-07 20:43:11 +00:00
commit 85fdb55309

View file

@ -15,7 +15,6 @@ class Chanview extends Controller
public function get()
{
$load_outbox = false;
$observer = App::get_observer();
@ -111,7 +110,7 @@ class Chanview extends Controller
$connected = false;
$url = App::$poi['xchan_url'];
if (in_array(App::$poi['xchan_network'],['nomad','zot6'])) {
if (isOWAEnabled($url)) {
$is_zot = true;
}
if (local_channel()) {