This commit is contained in:
Henry Jameson 2026-07-21 18:56:20 +03:00
commit d8aa7ec97e
3 changed files with 9 additions and 6 deletions

View file

@ -79,17 +79,18 @@ const ChatMessage = {
},
isCustomReply() {
if (!this.previousItem) return false
if (!this.chatItem.data.in_reply_to_status_id) return false
console.log('==')
console.log('PREV', toValue(this.previousItem.data.raw_html))
console.log('CURR', toValue(this.chatItem.data.raw_html))
console.log('PREV', toValue(this.previousItem.data.text))
console.log('CURR', toValue(this.chatItem.data.text))
return (
this.previousItem.data.id !== this.chatItem.data.in_reply_to_status_id
)
},
customReplyTo() {
return find(this.$store.state.statuses.allStatuses, {
id: this.chatItem.data.in_reply_to_status_id,
})
return this.$store.state.statuses.allStatusesObject[
this.chatItem.data.in_reply_to_status_id
]
},
messageForStatusContent() {
return {

View file

@ -37,7 +37,9 @@
/>
{{ $t('status.reply_to') }}
</strong>
<!-- v-if is there because status might not be loaded yet -->
<StatusBody
v-if="customReplyTo"
class="reply-body"
:status="customReplyTo"
collapse

View file

@ -26,7 +26,7 @@
.text {
&.-single-line {
white-space: nowrap;
white-space-collapse: collapse;
text-overflow: ellipsis;
overflow: hidden;
height: 1.4em;