# Handle deleted topics better in embed

**URL:** https://meta.discourse.org/t/handle-deleted-topics-better-in-embed/35776
**Category:** Bug
**Created:** [19.Ноябрь.2015 00:30:11 UTC](https://meta.discourse.org/t/handle-deleted-topics-better-in-embed/35776 "2015-11-19T00:30:11Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![fantapop](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fantapop/32/121823_2.png) [@fantapop](https://meta.discourse.org/u/fantapop)
#### Post date: [19.Ноябрь.2015 00:30:12 UTC](https://meta.discourse.org/t/handle-deleted-topics-better-in-embed/35776/1 "2015-11-19T00:30:12Z")

</div>

We’re on the cusp of rolling out the embedded comments on our blog and I noticed a few oddities.

1. if the embed url points to a topic that exists but is deleted, it shows -1 replies

2. when starting discussion on a deleted topic you visit that topic and it still shows as deleted. I would expect it to reopen that topic.

---

<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: [19.Ноябрь.2015 01:06:10 UTC](https://meta.discourse.org/t/handle-deleted-topics-better-in-embed/35776/2 "2015-11-19T01:06:10Z")

</div>

Anything we can do about the -1 issue @eviltrout? Low priority though.

---

<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: [20.Ноябрь.2015 18:07:09 UTC](https://meta.discourse.org/t/handle-deleted-topics-better-in-embed/35776/3 "2015-11-20T18:07:09Z")

</div>

The -1 issue has been fixed in master:

[https://github.com/discourse/discourse/commit/5056de1d8a88ae06c56cdf20a6d987a1973347e3](https://github.com/discourse/discourse/commit/5056de1d8a88ae06c56cdf20a6d987a1973347e3)

I don’t think re-opening the topic as explained in 2 is safe. I feel like it could give the user following through too much power. It’s probably better if they get the “missing / not proper access” page.

---

<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: [22.Ноябрь.2015 00:12:18 UTC](https://meta.discourse.org/t/handle-deleted-topics-better-in-embed/35776/4 "2015-11-22T00:12:18Z")

</div>


