minor functionality fixes
This commit is contained in:
parent
4b55ffe99e
commit
c77edab79c
2 changed files with 3 additions and 3 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue