# Hide or remove "Listed/Unlisted" comments when embedded

**URL:** https://meta.discourse.org/t/hide-or-remove-listed-unlisted-comments-when-embedded/176631
**Category:** Support
**Created:** [January 19, 2021, 10:37pm UTC](https://meta.discourse.org/t/hide-or-remove-listed-unlisted-comments-when-embedded/176631 "2021-01-19T22:37:55Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Kyle\_Baley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kyle_baley/32/206568_2.png) [@Kyle\_Baley](https://meta.discourse.org/u/Kyle_Baley)
#### Post date: [January 19, 2021, 10:37pm UTC](https://meta.discourse.org/t/hide-or-remove-listed-unlisted-comments-when-embedded/176631/1 "2021-01-19T22:37:55Z")

</div>

We’re in the process of replacing Disqus with Discourse embedded comments for a blog. The [instructions](https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963) are clear and we have the relatively new feature checked to make topics unlisted until the first comment is posted. However, when that first comment is posted, we see two comments in the discussion. The one that is posted plus another auto-generated comment showing that the topic was listed. Is there a way to not show these auto-generated “Listed” comments?

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [January 19, 2021, 10:56pm UTC](https://meta.discourse.org/t/hide-or-remove-listed-unlisted-comments-when-embedded/176631/2 "2021-01-19T22:56:28Z")

</div>

> [@Kyle\_Baley](#):
>
> when that first comment is posted, we see two comments in the discussion. The one that is posted plus another auto-generated comment showing that the topic was listed. Is there a way to not show these auto-generated “Listed” comments?

I had thought that small action posts were excluded from the embedded comments, but testing this now, I’m seeing that posts created for small actions (listing/unlisting, etc) are being included in the embedded comments. This seems like something that should be fixed.

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [January 20, 2021, 4:46pm UTC](https://meta.discourse.org/t/hide-or-remove-listed-unlisted-comments-when-embedded/176631/3 "2021-01-20T16:46:49Z")

</div>

You’d probably only see those as staff right? Or is that not the case?

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [January 20, 2021, 5:33pm UTC](https://meta.discourse.org/t/hide-or-remove-listed-unlisted-comments-when-embedded/176631/4 "2021-01-20T17:33:08Z")

</div>

So far I’ve only tested this on my local dev site. I’m seeing small action posts in the embedded comments even when I’m logged out of both my Discourse site and my blog or logged in as a non-staff user. I can test this on a production site if needed, but I’m not seeing anything in the Discourse code that filters out small action posts for embedded comments. For example, this post has an an actual comment (with a `post_type` of 1) that’s not being displayed:

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/5/558a9f27b083c2c9517b8971184ee923e74792c1.png)

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [January 20, 2021, 7:33pm UTC](https://meta.discourse.org/t/hide-or-remove-listed-unlisted-comments-when-embedded/176631/5 "2021-01-20T19:33:33Z")

</div>

Thanks for the leg work simon. I have a PR ready with a fix:

[https://github.com/discourse/discourse/pull/11773](https://github.com/discourse/discourse/pull/11773)

---

<div class="post-metadata">

### Author: ![Kyle\_Baley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kyle_baley/32/206568_2.png) [@Kyle\_Baley](https://meta.discourse.org/u/Kyle_Baley)
#### Post date: [January 22, 2021, 3:56pm UTC](https://meta.discourse.org/t/hide-or-remove-listed-unlisted-comments-when-embedded/176631/6 "2021-01-22T15:56:59Z")

</div>

Thanks everyone for the extremely quick turnaround on this. I’m not familiar with the deployment process. I see the PR has been merged. When would this get deployed (he said, admitting he hasn’t actually checked his instance yet).

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [January 22, 2021, 4:53pm UTC](https://meta.discourse.org/t/hide-or-remove-listed-unlisted-comments-when-embedded/176631/7 "2021-01-22T16:53:02Z")

</div>

> [@Kyle\_Baley](#):
>
> When would this get deployed

If your site is hosted by us, send a PM to our `support` group and we’ll make sure the fix has been deployed to your site. If your site is self-hosted, the update is available now. To get it, you’ll need to update to the latest version of Discourse from your site’s admin dashboard.

---

<div class="post-metadata">

### Author: ![Kyle\_Baley](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kyle_baley/32/206568_2.png) [@Kyle\_Baley](https://meta.discourse.org/u/Kyle_Baley)
#### Post date: [January 22, 2021, 5:28pm UTC](https://meta.discourse.org/t/hide-or-remove-listed-unlisted-comments-when-embedded/176631/8 "2021-01-22T17:28:05Z")

</div>

Thanks. I’ll reach out to the support group for our two instances

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [January 24, 2021, 2:00am UTC](https://meta.discourse.org/t/hide-or-remove-listed-unlisted-comments-when-embedded/176631/9 "2021-01-24T02:00:09Z")

</div>

This topic was automatically closed after 45 hours. New replies are no longer allowed.
