]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticelist.php
auth fix
[quix0rs-gnu-social.git] / lib / noticelist.php
index fb5db2374c1ccfd40c7e19260e42deb4686a4982..c6f964662fe73285793d0b782e9f7359b2db512b 100644 (file)
@@ -385,8 +385,10 @@ class NoticeListItem extends Widget
     }
 
     function showNoticeAttachments() {
-        $al = new AttachmentList($this->notice, $this->out);
-        $al->show();
+        if (common_config('attachments', 'show_thumbs')) {
+            $al = new InlineAttachmentList($this->notice, $this->out);
+            $al->show();
+        }
     }
 
     /**