Skip to content
Snippets Groups Projects
Commit c86660d7 authored by Guilherme Gazzo's avatar Guilherme Gazzo
Browse files

embed from youtu.be fixed

parent 930e9833
No related branches found
Tags 6.3.0-rc.10
No related merge requests found
......@@ -58,6 +58,7 @@ RocketChat.callbacks.add 'oembed:beforeGetUrlContent', (data) ->
data.urlObj.pathname = consumerUrl.pathname
data.urlObj.query = consumerUrl.query
delete data.urlObj.search
delete data.urlObj.host
return data
, RocketChat.callbacks.priority.MEDIUM, 'oembed-providers-before'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment