Updates wording on content warning field

This commit is contained in:
Mouse Reeve
2022-03-10 09:16:50 -08:00
parent bcd83ee802
commit cc2b774fb5
2 changed files with 3 additions and 5 deletions

View File

@ -85,9 +85,7 @@ class CreateStatus(View):
if hasattr(status, "quote"):
status.raw_quote = status.quote
if not status.sensitive and status.content_warning:
# the cw text field remains populated when you click "remove"
status.content_warning = None
status.sensitive = status.content_warning not in [None, ""]
status.save(broadcast=False)
# inspect the text for user tags