Trigger rebroadcast of follow requests
This commit is contained in:
parent
88e915409b
commit
a3b9c621af
2 changed files with 11 additions and 12 deletions
|
@ -133,7 +133,9 @@ class UserFollowRequest(ActivitypubMixin, UserRelationship):
|
|||
user_object=self.user_subject,
|
||||
)
|
||||
).exists():
|
||||
raise IntegrityError()
|
||||
raise IntegrityError(
|
||||
"Attempting to follow blocked user", self.user_subject, self.user_object
|
||||
)
|
||||
super().save(*args, **kwargs)
|
||||
|
||||
if broadcast and self.user_subject.local and not self.user_object.local:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue