Better user block privacy
This commit is contained in:
parent
a617302006
commit
364b053d9a
8 changed files with 28 additions and 16 deletions
|
@ -65,7 +65,7 @@ class DirectMessage(View):
|
|||
user = None
|
||||
if username:
|
||||
try:
|
||||
user = get_user_from_username(username)
|
||||
user = get_user_from_username(request.user, username)
|
||||
except models.User.DoesNotExist:
|
||||
pass
|
||||
if user:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue