Ignore empty content warnings in API (resolves #977)
What does this MR do?
Modify the Misskey and Mastodon post APIs to treat a blank / empty content warning as if it were null
. This avoids a spurious validation error when posting with certain clients.
Specific changes:
- ignore empty CW with creating / editing notes
- don't parse empty strings in timelineArgs.ts
- don't use empty CW as placeholder in megalodon
Contribution Guidelines
By submitting this merge request, you agree to follow our Contribution Guidelines
-
I agree to follow this project's Contribution Guidelines -
I have made sure to test this merge request
Edited by Hazelnoot
Merge request reports
Activity
Filter activity
added bugbackend label
added 1 commit
- 908271c9 - ignore empty CW with creating / editing notes
mentioned in issue #977 (closed)
reset approvals from @dakkar by pushing to the branch
mentioned in commit a90a8e9e
Please register or sign in to reply