summaryrefslogtreecommitdiffstats
path: root/activities/views
diff options
context:
space:
mode:
Diffstat (limited to 'activities/views')
-rw-r--r--activities/views/compose.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/activities/views/compose.py b/activities/views/compose.py
index e9092f7..8e3c96d 100644
--- a/activities/views/compose.py
+++ b/activities/views/compose.py
@@ -216,6 +216,7 @@ class ImageUpload(FormView):
name=form.cleaned_data.get("description"),
state=PostAttachmentStates.fetched,
)
+
attachment.file.save(
main_file.name,
main_file,