Send update activity on edit

This commit is contained in:
Mouse Reeve
2021-10-15 08:15:48 -07:00
parent 50db0bd012
commit 4002df04fc
2 changed files with 6 additions and 2 deletions

View File

@ -55,6 +55,7 @@ class CreateStatus(View):
def post(self, request, status_type, existing_status_id=None):
"""create status of whatever type"""
created = not existing_status_id
existing_status = None
if existing_status_id:
existing_status = get_object_or_404(
@ -108,7 +109,7 @@ class CreateStatus(View):
if hasattr(status, "quote"):
status.quote = to_markdown(status.quote)
status.save(created=True)
status.save(created=created)
# update a readthorugh, if needed
try: