Fix things, unfix things, refix things, break things, fix things

This commit is contained in:
Mouse Reeve
2021-02-17 12:23:55 -08:00
parent 08dc5b4d86
commit 7b21a0a208
4 changed files with 12 additions and 9 deletions

View File

@ -105,10 +105,7 @@ class UserFollowRequest(ActivitypubMixin, UserRelationship):
except (UserFollows.DoesNotExist, UserBlocks.DoesNotExist):
pass
# this was calling itself which is not my idea of "super" ...
if not self.id:
super().save(*args, **kwargs)
return
super().save(*args, **kwargs)
if broadcast and self.user_subject.local and not self.user_object.local:
self.broadcast(self.to_activity(), self.user_subject)