Merge pull request #293 from mouse-reeve/tagging

fixes tagging
This commit is contained in:
Mouse Reeve
2020-11-06 15:46:45 -08:00
committed by GitHub
6 changed files with 31 additions and 28 deletions

View File

@ -35,8 +35,8 @@ class Tag(OrderedCollectionMixin, BookWyrmModel):
return activitypub.Add(
id='%s#add' % self.remote_id,
actor=user.remote_id,
object=self.book.to_activity(),
target=self.to_activity(),
object=self.book.local_id,
target=self.remote_id,
).serialize()
def to_remove_activity(self, user):