Updates wording on content warning field
This commit is contained in:
parent
bcd83ee802
commit
cc2b774fb5
2 changed files with 3 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue