Skip to content

Commit

Permalink
fix(NewMessage): parse edited message before sending
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy committed Mar 28, 2024
1 parent 6eee85e commit feea462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/NewMessage/NewMessage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -743,7 +743,7 @@ export default {
await this.$store.dispatch('editMessage', {
token: this.token,
messageId: this.messageToEdit.id,
updatedMessage: this.text.trim(),
updatedMessage: parseSpecialSymbols(this.text.trim()),
})
this.chatExtrasStore.removeMessageIdToEdit(this.token)
this.resetTypingIndicator()
Expand Down

0 comments on commit feea462

Please sign in to comment.