1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-07-27 21:04:37 +02:00

Merge remote-tracking branch 'misskey-dev/develop' into io

This commit is contained in:
まっちゃとーにゅ
2024-01-13 23:48:15 +09:00
96 changed files with 4919 additions and 674 deletions

View File

@@ -331,6 +331,9 @@ export class NoteCreateService implements OnApplicationShutdown {
data.text = data.text.slice(0, DB_MAX_NOTE_TEXT_LENGTH);
}
data.text = data.text.trim();
if (data.text === '') {
data.text = null;
}
} else {
data.text = null;
}