]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
we _do_ want to show text/html as attachments, since that's how mustard and crow...
authorHannes Mannerheim <h@nnesmannerhe.im>
Mon, 20 Oct 2014 14:21:42 +0000 (16:21 +0200)
committerHannes Mannerheim <h@nnesmannerhe.im>
Mon, 20 Oct 2014 14:21:42 +0000 (16:21 +0200)
classes/File.php

index 210e758419570c8044bba27429f0ca5ecdb1dde8..8eff7d61823986655a42f65bdbe1b7377894914b 100644 (file)
@@ -356,7 +356,7 @@ class File extends Managed_DataObject
             $enclosure->$key = $this->$key;
         }
 
-        $needMoreMetadataMimetypes = array(null, 'text/html', 'application/xhtml+xml');
+        $needMoreMetadataMimetypes = array(null, 'application/xhtml+xml');
 
         if (!isset($this->filename) && in_array(common_bare_mime($enclosure->mimetype), $needMoreMetadataMimetypes)) {
             // This fetches enclosure metadata for non-local links with unset/HTML mimetypes,