Fix group member reply trimming
This commit is contained in:
parent
b15ff7d23e
commit
f60ddd6465
|
@ -1912,7 +1912,7 @@ function cleanGroupMessage(getMessage) {
|
|||
const regex = new RegExp(`(^|\n)${escapeRegex(name)}:`);
|
||||
const nameMatch = getMessage.match(regex);
|
||||
if (nameMatch) {
|
||||
getMessage = getMessage.substring(nameMatch.index + nameMatch[0].length);
|
||||
getMessage = getMessage.substring(0, nameMatch.index);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue