mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-02-01 03:42:22 +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
|
cc = data.cc
|
||||||
|
|
||||||
# we need to figure out who this is to get their followers link
|
# 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]:
|
if to == [self.public]:
|
||||||
setattr(instance, self.name, "public")
|
setattr(instance, self.name, "public")
|
||||||
|
|
Loading…
Reference in a new issue