Skip to content

Commit 4359764

Browse files
committed
(fix) missing text-formatting prop
1 parent fb51cfb commit 4359764

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

src/ChatWindow/Message/Message.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
v-if="!message.deleted && message.replyMessage"
5050
:message="message"
5151
:room-users="roomUsers"
52+
:text-formatting="textFormatting"
5253
>
5354
<template v-for="(i, name) in $scopedSlots" #[name]="data">
5455
<slot :name="name" v-bind="data" />

src/ChatWindow/Message/MessageReply.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<format-message
1818
:content="message.replyMessage.content"
1919
:users="roomUsers"
20-
:text-formatting="true"
20+
:text-formatting="textFormatting"
2121
:reply="true"
2222
>
2323
<template v-for="(i, name) in $scopedSlots" #[name]="data">
@@ -39,6 +39,7 @@ export default {
3939
4040
props: {
4141
message: { type: Object, required: true },
42+
textFormatting: { type: Boolean, required: true },
4243
roomUsers: { type: Array, required: true }
4344
},
4445

src/ChatWindow/Room/Room.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
<room-message-reply
126126
:room="room"
127127
:message-reply="messageReply"
128+
:text-formatting="textFormatting"
128129
@reset-message="resetMessage"
129130
>
130131
<template v-for="(i, name) in $scopedSlots" #[name]="data">

src/ChatWindow/Room/RoomMessageReply.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<format-message
2020
:content="messageReply.content"
2121
:users="room.users"
22-
:text-formatting="true"
22+
:text-formatting="textFormatting"
2323
:reply="true"
2424
>
2525
<template v-for="(i, name) in $scopedSlots" #[name]="data">
@@ -56,7 +56,8 @@ export default {
5656
5757
props: {
5858
room: { type: Object, required: true },
59-
messageReply: { type: Object, default: null }
59+
messageReply: { type: Object, default: null },
60+
textFormatting: { type: Boolean, required: true }
6061
},
6162
6263
computed: {

0 commit comments

Comments
 (0)