From 6c92ff15f3f5201dd875227e2a6b60bf91e74568 Mon Sep 17 00:00:00 2001 From: Frisk Date: Wed, 9 Oct 2024 18:57:36 +0200 Subject: [PATCH] Fixes in relation to last commits --- src/wiki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wiki.py b/src/wiki.py index 926eaa3..350e178 100644 --- a/src/wiki.py +++ b/src/wiki.py @@ -239,7 +239,7 @@ class Wiki: if "user" in censored_properties and "url" in message["author"]: message["author"]["name"] = context._("hidden") message["author"].pop("url") - if "action" in censored_properties and "url" in message.embed: + if ("action" in censored_properties or ("content" in censored_properties and mode == "log_id")) and "url" in message.embed: message["title"] = context._("~~hidden~~") message.embed.pop("url") if "content" in censored_properties and "fields" in message.embed: