fsd
This commit is contained in:
parent
f69f929abb
commit
4c93cd63d9
2 changed files with 2 additions and 2 deletions
|
@ -653,7 +653,7 @@ def settings_block_user(v):
|
|||
if not user: return {"error": "That user doesn't exist."}, 404
|
||||
|
||||
if user.unblockable:
|
||||
send_repeatable_notification(user.id, f"@{v.username} has tried to block you and failed because of your unblockable status!")
|
||||
send_notification(user.id, f"@{v.username} has tried to block you and failed because of your unblockable status!")
|
||||
g.db.commit()
|
||||
return {"error": "This user is unblockable."}, 403
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue