merge: upstream
This commit is contained in:
commit
4c1f6be735
132 changed files with 12167 additions and 792 deletions
|
@ -494,6 +494,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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue