handling broken replies
This commit is contained in:
parent
52af3c4420
commit
298e0af99e
3 changed files with 11 additions and 1 deletions
|
|
@ -90,6 +90,10 @@ const ChatMessage = {
|
|||
this.previousItem.data.id !== this.chatItem.data.in_reply_to_status_id
|
||||
)
|
||||
},
|
||||
isBrokenReply() {
|
||||
if (!this.previousItem) return false
|
||||
return !this.chatItem.data.in_reply_to_status_id
|
||||
},
|
||||
customReplyTo() {
|
||||
return this.$store.state.statuses.allStatusesObject[
|
||||
this.chatItem.data.in_reply_to_status_id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue