feat: support reply to for Telegram (#8105)

Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
This commit is contained in:
Shivam Mishra
2023-10-20 13:14:20 +05:30
committed by GitHub
parent 7416bbb25e
commit b9694a0818
10 changed files with 146 additions and 12 deletions

View File

@@ -38,6 +38,7 @@
v-if="inReplyToMessageId && inboxSupportsReplyTo"
:message="inReplyTo"
:message-type="data.message_type"
:parent-has-attachments="hasAttachments"
/>
<bubble-text
v-if="data.content"

View File

@@ -5,7 +5,7 @@
'bg-slate-100 dark:bg-slate-600 dark:text-slate-50':
messageType === MESSAGE_TYPE.INCOMING,
'bg-woot-600 text-woot-50': messageType === MESSAGE_TYPE.OUTGOING,
'-mx-2': message.content,
'-mx-2': !parentHasAttachments,
}"
>
<message-preview
@@ -34,6 +34,10 @@ export default {
type: Number,
required: true,
},
parentHasAttachments: {
type: Boolean,
required: true,
},
},
data() {
return { MESSAGE_TYPE };