Merge pull request 'Potential missing letter fix' () from BordedDev/snek:bugfix/potential-lag-fix into main

Reviewed-on: 
Reviewed-by: retoor <retoor@noreply@molodetz.nl>
This commit is contained in:
retoor 2025-05-27 00:25:56 +02:00
commit f67d7b35f1

View File

@ -279,8 +279,7 @@ levenshteinDistance(a, b) {
app.rpc &&
typeof app.rpc.updateMessageText === "function"
) {
this.value = this.replaceMentionsWithAuthors(this.value);
app.rpc.updateMessageText(this.messageUid, this.value);
app.rpc.updateMessageText(this.messageUid, this.replaceMentionsWithAuthors(this.value));
}
}