about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-03-06 12:21:18 +0100
committerThibG <thib@sitedethib.com>2019-03-06 13:01:27 +0100
commit1bb23100b1059879a743302253eafc8317daf215 (patch)
tree447592eceb066c724368d433f3effb0097841f12 /app/javascript/flavours/glitch
parentfefacb7b7a21fc4aa40cb18ac797ecb5c44627f6 (diff)
Add an icon to highlight polls behind a Content Warning
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r--app/javascript/flavours/glitch/components/status.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js
index b38bebe11..31f4f1ddd 100644
--- a/app/javascript/flavours/glitch/components/status.js
+++ b/app/javascript/flavours/glitch/components/status.js
@@ -440,6 +440,7 @@ export default class Status extends ImmutablePureComponent {
     attachments = status.get('media_attachments');
     if (status.get('poll')) {
       media = <PollContainer pollId={status.get('poll')} />;
+      mediaIcon = 'tasks';
     } else if (attachments.size > 0) {
       if (muted || attachments.some(item => item.get('type') === 'unknown')) {
         media = (