Skip to content

Commit

Permalink
fix(NewMessage): compare value from store with parsed value
Browse files Browse the repository at this point in the history
 - to avoid issues with special symbols described in #11803

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
  • Loading branch information
Antreesy committed Mar 14, 2024
1 parent ed27439 commit 3c56ef6
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 @@ -523,7 +523,7 @@ export default {
},

chatInput(newValue) {
if (this.text !== newValue) {
if (parseSpecialSymbols(this.text) !== newValue) {
this.text = newValue
}
},
Expand Down

0 comments on commit 3c56ef6

Please sign in to comment.