Skip to content
Snippets Groups Projects

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading