Merge pull request #424 from ahstro/fix-docstring

Fix docstring for to_reject_activity
This commit is contained in:
Mouse Reeve
2020-12-27 14:35:16 -08:00
committed by GitHub

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,