# Возможность привязки постов к родительской теме в интеграции со Slack

**URL:** <https://meta.discourse.org/t/optionally-threading-posts-to-parent-topic-in-slack-integration/150759>\
**Category:** Feature\
**Tags:** chat-integration\
**Created:** [07.Май.2020 21:33:45 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:** 27

<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:** [16.Июль.2020 11:24:09 UTC](https://meta.discourse.org/t/optionally-threading-posts-to-parent-topic-in-slack-integration/150759/27 "2020-07-16T11:24:09Z")

</div>

Я вижу то же самое сейчас; я даже не заметил этот элемент интерфейса, так как создавал свои правила с помощью слэш-команд в Slack.

Насколько я понимаю фронтенд-код, это, вероятно, побочный эффект кода, который запросил @david, чтобы скрыть `thread` для других типов интеграций:

```plaintext
  @computed("channel.provider")
  available_filters(provider) {
    const available = [];

    if (provider === "slack") {
      available.push({
        id: "thread",
        name: I18n.t("chat_integration.filter.thread"),
        icon: "chevron-right"
      });
    }

```

Возможно, я ошибаюсь.

Но я на самом деле бэкенд-разработчик и не знаю, как это исправить. Не понимаю, почему `channel.provider` равен `slack` только при редактировании существующего правила, а не при создании нового. 😬

---

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