Skip to content
Snippets Groups Projects
Commit 9077fa3a authored by Gabriel Engel's avatar Gabriel Engel Committed by GitHub
Browse files

Merge pull request #6394 from ggazzo/issue-5861

embed from youtu.be fixed
parents 1cf45620 c86660d7
No related branches found
No related tags found
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