# Optionally threading posts to parent topic in slack integration

**URL:** <https://meta.discourse.org/t/optionally-threading-posts-to-parent-topic-in-slack-integration/150759>\
**Category:** Feature\
**Tags:** chat-integration\
**Created:** [May 7, 2020, 9:33pm UTC](https://meta.discourse.org/t/optionally-threading-posts-to-parent-topic-in-slack-integration/150759 "2020-05-07T21:33:45Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![mcdanlj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcdanlj/32/131829_2.png) [@mcdanlj](https://meta.discourse.org/u/mcdanlj)\
**Post date:** [June 11, 2020, 12:41am UTC](https://meta.discourse.org/t/optionally-threading-posts-to-parent-topic-in-slack-integration/150759/14 "2020-06-11T00:41:36Z")

</div>

@david I have a **draft** PR up that passes unit tests as I’ve written them. I haven’t yet tried running it live against slack so I wouldn’t want to merge it until that’s done. But at least all the unit tests pass for me, and I tried to add meaningful tests for them.

I also put the ID comment at the end instead of the beginning of the post because it felt more likely to survive and less likely to be mangled there, and I tried to be conservative about parsing it out.

Thanks for your work on this plugin!

[https://github.com/discourse/discourse-chat-integration/pull/38](https://github.com/discourse/discourse-chat-integration/pull/38)

I fixed my initial linting failures, but now tests I didn’t touch are failing. I’m based off latest master, and tests pass locally. Do you have insight into the failing tests?

---

_[View the full topic](https://meta.discourse.org/t/optionally-threading-posts-to-parent-topic-in-slack-integration/150759)._
