fixes
This commit is contained in:
parent
65291bc303
commit
d8aa7ec97e
3 changed files with 9 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue