Add support for both link and video embeds as rich embeds

This commit is contained in:
Jeremy Zhang 2017-11-20 23:10:06 +00:00
parent ef4ab4e83c
commit 2e71200843

View File

@ -905,7 +905,7 @@
var emb = [];
for (var i = 0; i < embeds.length; i++) {
var disembed = embeds[i];
if (disembed.type != "rich") {
if ($.inArray(disembed.type, ["rich", "link", "video"]) == -1) {
continue;
}
disembed.toRenderFooter = false;