mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-28 12:31:12 +00:00
Save attachments on incoming statuses
This commit is contained in:
parent
365408e86b
commit
25d72c5d1e
1 changed files with 1 additions and 0 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue