From f883d2f75cd3c404115bd2c98b6d3c8d7ff10ef6 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Fri, 11 Jun 2021 03:11:58 +0300 Subject: better handling of hellthreads with mentions at bottom --- src/components/status_content/status_content.js | 7 ++++--- src/components/status_content/status_content.vue | 5 ++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/components/status_content') diff --git a/src/components/status_content/status_content.js b/src/components/status_content/status_content.js index 64cc6d44..11a4974b 100644 --- a/src/components/status_content/status_content.js +++ b/src/components/status_content/status_content.js @@ -32,9 +32,7 @@ const StatusContent = { 'noHeading', 'fullContent', 'singleLine', - 'hideFirstMentions', - 'hideLastMentions', - 'headTailLinks' + 'hideMentions' ], computed: { hideAttachments () { @@ -94,6 +92,9 @@ const StatusContent = { StatusBody }, methods: { + setHeadTailLinks (headTailLinks) { + this.$emit('parseReady', headTailLinks) + }, setMedia () { const attachments = this.attachmentSize === 'hide' ? this.status.attachments : this.galleryAttachments return () => this.$store.dispatch('setMedia', attachments) diff --git a/src/components/status_content/status_content.vue b/src/components/status_content/status_content.vue index c32bbbfb..feb34d2c 100644 --- a/src/components/status_content/status_content.vue +++ b/src/components/status_content/status_content.vue @@ -4,9 +4,8 @@
-- cgit v1.2.3-70-g09d2