Commit 928fce87 authored by Zot's avatar Zot Committed by Mario
Browse files

make authenticated oembeds optional, default to false.

parent 1d3c6e74
......@@ -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);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment