From 92d88d1644976f47bc904327f3bd168d75e4e83a Mon Sep 17 00:00:00 2001 From: ansuz Date: Mon, 3 Jul 2017 16:45:40 +0200 Subject: [PATCH] don't change allowed media types until we have media-tag scoping --- www/common/cryptpad-common.js | 1 - 1 file changed, 1 deletion(-) diff --git a/www/common/cryptpad-common.js b/www/common/cryptpad-common.js index e1743b89c..b0d6ea424 100644 --- a/www/common/cryptpad-common.js +++ b/www/common/cryptpad-common.js @@ -1235,7 +1235,6 @@ define([ $img.attr('src', src); $img.attr('data-crypto-key', 'cryptpad:' + cryptKey); require(['/common/media-tag.js'], function (MediaTag) { - MediaTag.CryptoFilter.setAllowedMediaTypes(common.avatarAllowedTypes); MediaTag($img[0]); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) {