Discourse constantly generating invisible welcome topics on its own

סיכום מבוסס בינה מלאכותית

themightychris noticed that their Discourse forum is automatically generating invisible “welcome” topics every 1–4 days, which are not visible in the UI or search but trigger topic_created webhooks and are accessible via permalink when logged in. These topics, such as this one, appear to be private messages sent to new users. themightychris later realized these are private welcome messages for new members and sought a way to filter or ignore them. riking suggested checking if archetype == 'private_message' to identify them. codinghorror advised turning off the “welcome PM for new users” setting in Site Settings to prevent their creation entirely. This issue affects users relying on webhooks to monitor topic creation, as these invisible topics can trigger unwanted alerts.

I’m using the discourse-webhooks plugin to push alerts when new topics are created to other mediums and it’s caused me to notice that my discourse forum is generating a new welcome topic that isn’t discoverable via the UI every 1-4 days. They don’t even come up in search but a topic_created event is firing for them and they’re reachable via their permalink only if I’m logged in:

They all look like this:

What’s the deal with these? Can I disable them? Is there a reliable way for me to identify and ignore them? I’m running 1.4.0beta7

Shortly after I posted this I finally realized they are private topics being generated for each new user that joins the forum. Looking for a topic attribute I can use to discriminate them, I’ll come back and share if I find one

archetype == 'private_message'

If you don’t want that turn off the welcome PM for new users via the site settings. There is a Boolean for it.