minor functionality fixes
This commit is contained in:
@ -110,7 +110,7 @@ def ostatus_follow_request(request):
|
||||
error = "ostatus_subscribe"
|
||||
|
||||
# don't do these checks for AnonymousUser before they sign in
|
||||
if request.user.id:
|
||||
if request.user.is_authenticated:
|
||||
|
||||
# you have blocked them so you probably don't want to follow
|
||||
if hasattr(request.user, "blocks") and user in request.user.blocks.all():
|
||||
|
Reference in New Issue
Block a user