don't change allowed media types until we have media-tag scoping

This commit is contained in:
ansuz 2017-07-03 16:45:40 +02:00
parent 678986dac4
commit 92d88d1644
1 changed files with 0 additions and 1 deletions

View File

@ -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) {