quote support
This commit is contained in:
parent
f16aff06f6
commit
c4a88dd19f
3 changed files with 22 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import { mapState as mapPiniaState } from 'pinia'
|
||||
import { mapState } from 'vuex'
|
||||
import { defineAsyncComponent } from 'vue'
|
||||
|
||||
import Attachment from 'src/components/attachment/attachment.vue'
|
||||
import MentionLink from 'src/components/mention_link/mention_link.vue'
|
||||
|
|
@ -59,6 +60,7 @@ const ChatMessage = {
|
|||
UserPopover,
|
||||
StatusPopover,
|
||||
MentionLink,
|
||||
Quote: defineAsyncComponent(() => import('src/components/quote/quote.vue')),
|
||||
Timeago,
|
||||
},
|
||||
computed: {
|
||||
|
|
@ -115,6 +117,15 @@ const ChatMessage = {
|
|||
return user ? user.statusnet_profile_url : 'NOT_FOUND'
|
||||
}
|
||||
},
|
||||
quoteId() {
|
||||
return this.message.quote_id
|
||||
},
|
||||
quoteUrl() {
|
||||
return this.message.quote_url
|
||||
},
|
||||
quoteVisible() {
|
||||
return this.message.quote_visible
|
||||
},
|
||||
messageForStatusContent() {
|
||||
return {
|
||||
summary: '',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue