From 7d761bae2e9e4ecff28dfe85626b199faf344e70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Thu, 22 May 2025 03:02:27 +0300 Subject: [PATCH] actually delete the avatar row when deleting avatar file --- util.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/util.lua b/util.lua index 54f2314..1aefe9d 100644 --- a/util.lua +++ b/util.lua @@ -88,6 +88,7 @@ function util.destroy_avatar(avatar_id) else f:close() os.remove(file_path) + avatar:delete() end end