mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 05:15:16 +00:00
make authenticated oembeds optional, default to false.
This commit is contained in:
parent
1d3c6e7420
commit
928fce875e
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ function oembed_fetch_url($embedurl){
|
|||
$txt = null;
|
||||
|
||||
// we should try to cache this and avoid a lookup on each render
|
||||
$zrl = is_matrix_url($embedurl);
|
||||
$zrl = ((get_config('system','oembed_zrl')) ? is_matrix_url($embedurl) : false);
|
||||
|
||||
$furl = ((local_channel() && $zrl) ? zid($embedurl) : $embedurl);
|
||||
|
||||
|
|
Loading…
Reference in a new issue