Make UserNote comment default to the empty string. #530

Merged
floatingghost merged 3 commits from provable_ascent/akkoma:provable_ascent-patch-1 into develop 2023-05-22 21:33:02 +00:00

3 Commits

Author SHA1 Message Date
provable_ascent 3fef9d1b67 Merge branch 'develop' into provable_ascent-patch-1 2023-05-12 02:19:13 +00:00
provable_ascent 9c4203632d Add user_note_test.exs.
ci/woodpecker/pr/woodpecker Pipeline is pending Details
2023-05-12 02:18:24 +00:00
provable_ascent d8bed0ff63 Make UserNote comment default to the empty string.
ci/woodpecker/pr/woodpecker Pipeline is pending Details
This make the behavior consistent between when UserNote doesn't exist and when comment is null.

The current behavior may return null in APIs, which misleads some clients doing feature detection into thinking the server does not support comments.
For example, see https://codeberg.org/husky/husky/issues/92
2023-04-27 05:22:12 +00:00