Fix OEmbeds when switching channel, vine/soundcloud heights, and youtube embeds

Этот коммит содержится в:
JoramWilander
2015-12-09 12:24:34 -05:00
родитель 7f1b0cbd1f
Коммит 699230bb3f
4 изменённых файлов: 15 добавлений и 8 удалений

Просмотреть файл

@@ -300,7 +300,7 @@ export function extractLinks(text) {
Autolinker.link(text, {
replaceFn,
urls: true,
urls: {schemeMatches: true, wwwMatches: true, tldMatches: false},
emails: false,
twitter: false,
phone: false,
@@ -1253,4 +1253,4 @@ export function isFeatureEnabled(feature) {
export function isSystemMessage(post) {
return post.type && (post.type.lastIndexOf(Constants.SYSTEM_MESSAGE_PREFIX) === 0);
}
}