Revert "Following deleted users."

This reverts commit d393f95eeb.
This commit is contained in:
Samuel Clay 2021-04-12 16:53:00 -04:00
parent d393f95eeb
commit edb081d093

View file

@ -1103,11 +1103,10 @@ def follow(request):
}
follow_subscription = MSocialSubscription.feeds(calculate_all_scores=True, **social_params)
if follow_profile.user:
if follow_profile.protected:
logging.user(request, "~BB~FR~SBRequested~SN follow from: ~SB%s" % follow_profile.user.username)
else:
logging.user(request, "~BB~FRFollowing: ~SB%s" % follow_profile.user.username)
if follow_profile.protected:
logging.user(request, "~BB~FR~SBRequested~SN follow from: ~SB%s" % follow_profile.username)
else:
logging.user(request, "~BB~FRFollowing: ~SB%s" % follow_profile.username)
return {
"user_profile": profile.canonical(include_follows=True),