master
Aevann1 2022-04-28 00:38:03 +02:00
parent 952fdec513
commit 9499cde2aa
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -1059,7 +1059,7 @@ def unfollow_user(username, v):
target = get_user(username)
if target.fish:
send_repeatable_notification(target.id, f"@{v.username} has tried to unfollow you and failed because of your fish award!")
send_notification(target.id, f"@{v.username} has tried to unfollow you and failed because of your fish award!")
g.db.commit()
return {"error": "You can't unfollow this user!"}