mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-19 21:55:41 +00:00
Uses correct object to determine author
This commit is contained in:
parent
dc72df7339
commit
2c26b04119
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ class PrivacyField(ActivitypubFieldMixin, models.CharField):
|
|||
cc = data.cc
|
||||
|
||||
# we need to figure out who this is to get their followers link
|
||||
user = activitypub.resolve_remote_id(self.attributedTo, model="User")
|
||||
user = activitypub.resolve_remote_id(data.attributedTo, model="User")
|
||||
|
||||
if to == [self.public]:
|
||||
setattr(instance, self.name, "public")
|
||||
|
|
Loading…
Reference in a new issue