Fix space at the end of status causing status change event

This commit is contained in:
Natsumi
2021-08-20 22:02:54 +12:00
parent dbb1554300
commit 25051907e6

View File

@@ -14380,7 +14380,7 @@ speechSynthesis.getVoices();
var regex = new RegExp(symbolList[key], 'g');
newText = newText.replace(regex, key);
}
return newText.replace(/ {1,}/g, ' ');
return newText.replace(/ {1,}/g, ' ').trimRight();
};
$app.methods.checkCanInvite = function (location) {