Use rich embed for everything embed, for now

This commit is contained in:
Jeremy Zhang 2018-01-08 06:59:22 +00:00
parent 5dfbbc12ac
commit 22d00bbe09

View File

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