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
commit c2301cdd26
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,