# Opcionalmente encadeando posts ao tópico principal na integração do Slack

**URL:** https://meta.discourse.org/t/optionally-threading-posts-to-parent-topic-in-slack-integration/150759
**Category:** Feature
**Tags:** chat-integration
**Created:** [7 Maio , 2020 21:33 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:** 17

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [15 Junho , 2020 15:57 UTC](https://meta.discourse.org/t/optionally-threading-posts-to-parent-topic-in-slack-integration/150759/17 "2020-06-15T15:57:19Z")

</div>

Muito obrigado por todo o seu trabalho aqui @mcdanlj - isso agora foi mesclado:

> <https://github.com/discourse/discourse-chat-integration/commit/da9106127afea45a72b8dcc8b944b8cbfc1b8fd1>
>
> When creating a new Discourse post from slack with the \`post\` feature, record th…e
> slack \`ts\` thread ID for the resulting topic post using an HTML comment to pass
> the \`ts\` through.
> 
> When notifying slack of new Discourse posts, record the slack \`ts\` thread ID in
> the post's topic if it has not yet been recorded. (Normally, this will be done
> for the topic post, except where notifications are being posted for old topics
> before this feature was created.)
> 
> Add a new rule filter \`thread\` which posts threaded responses to slack if there
> is a \`ts\` recorded for the post topic.
> 
> Modify the \`trigger\_notifications\` interface to enable other integrations to
> implement similar functionality.
> 
> Present the \`thread\` rule in the help text and admin UI only for the slack
> providers.
> 
> https://meta.discourse.org/t/optionally-threading-posts-to-parent-topic-in-slack-integration/150759

---

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