Save attachments on incoming statuses

This commit is contained in:
Mouse Reeve 2020-12-23 13:38:36 -08:00
parent 365408e86b
commit 25d72c5d1e

View file

@ -177,6 +177,7 @@ def set_related_field(
# we have to set it post-creation # we have to set it post-creation
if not hasattr(model_field, 'activitypub_field'): if not hasattr(model_field, 'activitypub_field'):
setattr(item, related_field_name, instance) setattr(item, related_field_name, instance)
item.save()
def resolve_remote_id(model, remote_id, refresh=False, save=True): def resolve_remote_id(model, remote_id, refresh=False, save=True):