Adds activity stream utility for adding and removing statuses
This commit is contained in:
parent
26fa81f19b
commit
39f34bc6e6
2 changed files with 22 additions and 1 deletions
|
@ -62,7 +62,7 @@ class UserFollows(ActivityMixin, UserRelationship):
|
|||
|
||||
status = "follows"
|
||||
|
||||
def to_activity(self):
|
||||
def to_activity(self): # pylint: disable=arguments-differ
|
||||
""" overrides default to manually set serializer """
|
||||
return activitypub.Follow(**generate_activity(self))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue