aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
authorshpuld <shp@cock.li>2019-01-31 21:19:41 +0200
committershpuld <shp@cock.li>2019-01-31 21:19:41 +0200
commita8c6b3f538dc97b93411213f72e90c16156f3926 (patch)
tree6df71f157130f7baea10a2296a7f85740002d749 /src/components/status/status.js
parentfbe7af3d56e4e6e168208a511bd7cd4e4e4e7a40 (diff)
Change video playing default without bothering making it an instance configurable
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index ec4de516..c07c60e1 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -222,9 +222,9 @@ const Status = {
if (this.attachmentSize === 'hide') {
return []
}
- return this.$store.state.config.playVideosInline
- ? ['image']
- : ['image', 'video']
+ return this.$store.state.config.playVideosInModal
+ ? ['image', 'video']
+ : ['image']
},
galleryAttachments () {
return this.status.attachments.filter(