Merge remote-tracking branch 'upstream/develop' into neckbeard

This commit is contained in:
Your New SJW Waifu 2023-10-17 13:23:44 -05:00
commit 3b7c433c65
4 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1 @@
fix typo in code that prevented cards from showing at all

View File

@ -0,0 +1 @@
don't display quoted status twice

View File

@ -73,6 +73,10 @@ const StatusContent = {
},
computed: {
...controlledOrUncontrolledGetters(['showingTall', 'expandingSubject', 'showingLongSubject']),
statusCard () {
if (!this.status.card) return null
return this.status.card.url === this.status.quote_url ? null : this.status.card
},
hideAttachments () {
return (this.mergedConfig.hideAttachments && !this.inConversation) ||
(this.mergedConfig.hideAttachmentsInConv && this.inConversation)

View File

@ -43,7 +43,7 @@
/>
<div
v-if="status.card && !noHeading && !compact"
v-if="statusCard && !noHeading && !compact"
class="link-preview media-body"
>
<link-preview