about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/status
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2020-06-21 02:27:19 +0200
committerThibG <thib@sitedethib.com>2020-07-02 17:31:09 +0200
commitad978ab1d49ea043a65c07f3433fe141d9fab6b4 (patch)
treee310aaf1f16a4f523aeea7f183f527bc4266b786 /app/javascript/flavours/glitch/features/status
parente62d574ead8a18050225532619f36423cf017371 (diff)
[Glitch] Change design of audio players in web UI
Port 75a2b8f8153ce3a6496fcaf6eedf9f2bb7c729e6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/features/status')
-rw-r--r--app/javascript/flavours/glitch/features/status/components/detailed_status.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/status/components/detailed_status.js b/app/javascript/flavours/glitch/features/status/components/detailed_status.js
index 4fbd65517..834390d28 100644
--- a/app/javascript/flavours/glitch/features/status/components/detailed_status.js
+++ b/app/javascript/flavours/glitch/features/status/components/detailed_status.js
@@ -142,6 +142,7 @@ export default class DetailedStatus extends ImmutablePureComponent {
             src={attachment.get('url')}
             alt={attachment.get('description')}
             duration={attachment.getIn(['meta', 'original', 'duration'], 0)}
+            poster={status.getIn(['account', 'avatar_static'])}
             height={110}
             preload
           />