型エラー修正とちょっとした修正

Signed-off-by: mattyatea <mattyacocacora0@gmail.com>
This commit is contained in:
mattyatea 2023-11-09 18:35:47 +09:00
parent 12b7ec3046
commit d6fb3c3342
No known key found for this signature in database
GPG key ID: 068E54E2C33BEF9A
2 changed files with 56 additions and 12 deletions

View file

@ -563,6 +563,7 @@ function removeVisibleUser(user) {
function clear() {
text = '';
schedule = null;
files = [];
poll = null;
quoteId = null;
@ -802,7 +803,7 @@ async function post(ev?: MouseEvent) {
if (notesCount === 1) {
claimAchievement('notes1');
}
poll = null;
const text = postData.text ?? '';
const lowerCase = text.toLowerCase();
if ((lowerCase.includes('love') || lowerCase.includes('❤')) && lowerCase.includes('misskey')) {