Skip to content
Snippets Groups Projects
Commit 91534b36 authored by Simon Tatham's avatar Simon Tatham
Browse files

Make a language tag optional when posting.

Language tags are optional in the Mastodon API, which means that if we
want to be able to edit an existing post without changing things, we
have to preserve an absence-of-language if it's there in the post
being edited.

Also, I can think of at least one perfectly sensible _reason_ to have
a post with no language: if it's a post with no text, and only an
image!

(It would have to be an image with no alt text, but no matter how much
those are socially disapproved of, they do _exist_, and in some cases
you could imagine them being perfectly fine in practice, such as when
posted in reply to a thread which gave all the necessary context.)
parent d52241cf
No related branches found
No related tags found
1 merge request!29Support for editing existing posts
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment