From d5eed41992f4e6c66006dc750b735ff8961b11ff Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 26 Dec 2022 02:14:47 +0200 Subject: [PATCH] dont notify me of my own modmail message --- files/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/users.py b/files/routes/users.py index c4e560836..fd178d898 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -567,7 +567,7 @@ def messagereply(v:User): admins = [x[0] for x in admins.all()] - if parent.author.id not in admins: + if parent.author.id not in admins + [v.id]: admins.append(parent.author.id) for admin in admins: