fix: correct method name from isSubSequence to isSubsequence in mention matching

This commit is contained in:
2025-05-27 10:08:53 +00:00
parent d5a4d44480
commit 763688be5f
+1 -1
View File
@@ -75,7 +75,7 @@ class ChatInputComponent extends HTMLElement {
authors.forEach(author => {
const lowerAuthor = author.toLowerCase();
const distance = this.levenshteinDistance(lowerMention, lowerAuthor);
if(!this.isSubSequence(lowerMention,lowerAuthor)) {
if(!this.isSubsequence(lowerMention,lowerAuthor)) {
distance += 1
}
if (distance < minDistance) {