Skip to content

Commit

Permalink
fix icontain blocking random users and orgs
Browse files Browse the repository at this point in the history
  • Loading branch information
octavioamu authored and thelostone-mc committed Sep 15, 2021
1 parent 44af506 commit 57f1c1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dashboard/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,7 @@ def get_tx_status_and_details(txid, network, created_on):

def is_blocked(handle):
# check admin block list
is_on_blocked_list = BlockedUser.objects.filter(handle__icontains=handle, active=True).exists()
is_on_blocked_list = BlockedUser.objects.filter(handle=handle.lower(), active=True).exists()
if is_on_blocked_list:
return True

Expand Down

0 comments on commit 57f1c1d

Please sign in to comment.