mirror of
https://gitlab.com/chicken-riders/RcGcDw.git
synced 2025-02-23 00:24:09 +00:00
Add #193
This commit is contained in:
parent
75dafb2337
commit
094925573a
|
@ -251,6 +251,8 @@ def rc_processor(change, changed_categories):
|
||||||
parsed_comment = sanitize_to_markdown(parsed_comment)
|
parsed_comment = sanitize_to_markdown(parsed_comment)
|
||||||
else:
|
else:
|
||||||
parsed_comment = _("~~hidden~~")
|
parsed_comment = _("~~hidden~~")
|
||||||
|
if not parsed_comment and context.message_type == "embed" and settings["appearance"].get("embed", {}).get("show_no_description_provided", True):
|
||||||
|
parsed_comment = _("No description provided")
|
||||||
context.set_parsedcomment(parsed_comment)
|
context.set_parsedcomment(parsed_comment)
|
||||||
if "userhidden" in change:
|
if "userhidden" in change:
|
||||||
change["user"] = _("hidden")
|
change["user"] = _("hidden")
|
||||||
|
|
Loading…
Reference in a new issue