diff options
| author | shpuld <shp@cock.li> | 2019-02-03 10:13:09 +0200 |
|---|---|---|
| committer | shpuld <shp@cock.li> | 2019-02-03 10:13:09 +0200 |
| commit | b614cb94e502f3491afd07e5bcb785ad122cf100 (patch) | |
| tree | 289e82bd2f5667ab773bb838a88dd312bba90edf /src/components/status/status.js | |
| parent | dbb16d56e29b8a32fb7c1a7af56a7953f571cdb4 (diff) | |
| parent | c7ee2ed83100e40247fc35be8b138befc44175bc (diff) | |
merge develop in
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index ec4de516..c718fe9f 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -87,7 +87,7 @@ const Status = { } }, retweet () { return !!this.statusoid.retweeted_status }, - retweeter () { return this.statusoid.user.name }, + retweeter () { return this.statusoid.user.name || this.statusoid.user.screen_name }, retweeterHtml () { return this.statusoid.user.name_html }, status () { if (this.retweet) { @@ -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( |
