diff --git a/src/views/components/SendMessage.js b/src/views/components/SendMessage.js index 6f56779..88235ea 100644 --- a/src/views/components/SendMessage.js +++ b/src/views/components/SendMessage.js @@ -5,7 +5,7 @@ export default { type: 'user', phone: '', text: '', - reply_id: '', + reply_message_id: '', loading: false, } }, @@ -38,8 +38,8 @@ export default { phone: this.phone_id, message: this.text, } - if (this.reply_id !== '') { - payload.reply_id = this.reply_id; + if (this.reply_message_id !== '') { + payload.reply_message_id = this.reply_message_id; } let response = await window.http.post(`/send/message`, payload) @@ -58,7 +58,7 @@ export default { this.phone = ''; this.text = ''; this.type = 'user'; - this.reply_id = ''; + this.reply_message_id = ''; }, }, template: ` @@ -95,9 +95,9 @@ export default {
- + aria-label="reply_message_id">