diff --git a/src/components/status/status.js b/src/components/status/status.js index 682231c4..65ddcb9f 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -36,6 +36,7 @@ const Status = { preview: null, showPreview: false, showingTall: this.inConversation && this.focused, + showingLongSubject: false, expandingSubject: typeof this.$store.state.config.collapseMessageWithSubject === 'undefined' ? !this.$store.state.instance.collapseMessageWithSubject : !this.$store.state.config.collapseMessageWithSubject, @@ -130,6 +131,9 @@ const Status = { const lengthScore = this.status.statusnet_html.split(/
20 }, + longSubject () { + return this.status.summary.length > 900 + }, isReply () { return !!(this.status.in_reply_to_status_id && this.status.in_reply_to_user_id) }, diff --git a/src/components/status/status.vue b/src/components/status/status.vue index ea8fa0cb..9986107f 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -88,7 +88,12 @@ -