Fix docstring for to_reject_activity

This commit is contained in:
Anton Strömkvist 2020-12-27 23:29:43 +01:00
parent e0d8e49d57
commit 97a5364b70
No known key found for this signature in database
GPG key ID: 50A3573EFBFA9867

View file

@ -54,7 +54,7 @@ class UserRelationship(ActivitypubMixin, BookWyrmModel):
def to_reject_activity(self):
''' generate an Accept for this follow request '''
''' generate a Reject for this follow request '''
return activitypub.Reject(
id=self.get_remote_id(status='rejects'),
actor=self.user_object.remote_id,