# Clarification around tag subscriptions

**URL:** <https://meta.discourse.org/t/clarification-around-tag-subscriptions/61480>\
**Category:** Product Support\
**Tags:** chat-integration\
**Created:** [24 أبريل 2017، 2:35ص UTC](https://meta.discourse.org/t/clarification-around-tag-subscriptions/61480 "2017-04-24T02:35:45Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [5 يوليو 2017، 3:26م UTC](https://meta.discourse.org/t/clarification-around-tag-subscriptions/61480/6 "2017-07-05T15:26:29Z")

</div>

مرحباً @mcwumbly. أعمل على إضافة [discourse-chat-integration](https://github.com/discourse/discourse-chat-integration) الجديدة، لذا قضيت وقتاً طويلاً خلال الأسبوعين الماضيين في إعادة تنفيذ نظام التصفية من إضافة Slack.

ومن خلال ذلك، قمت بحل (آمل) جميع “الغرابة” التي وصفتها في بداية هذا الموضوع. لقد وجدت هذا الموضوع للتو، ولهذا السبب لم أقم بالنشر قبل البدء في العمل!

بينما أعجبني فكرة سجل واحد لكل قناة، لا أستطيع رؤية كيفية عملها في الحالة:

مشاهدة الفئة #Contribute > Bug للمنشورات ذات العلامة #pr-welcome  
مشاهدة الفئة #Support للمنشورات ذات العلامة #unsupported-install

مع نموذج البيانات الذي وصفته أعلاه، لا يمكنك تفضيلات علامة مختلفة للفئات المختلفة.

لجعلها تعمل، يجب أن يكون النموذج أكثر شبهاً بـ

```plaintext
{
  key: '#channel'
  val: {
    watching: {[
                 {category: 'bug', tags: ['pr-welcome']},
                 {category: 'support', tags: ['unsupported-install']},
              ]},
    following: {[]},
    muted: {[]},
  }
}

```

وفي تلك النقطة، فإنه يبسط ببساطة إلى هيكل الجدول الموجود

| channel | filter | category | tags |
| --- | --- | --- | --- |
| #channel | watch | bug | pr-welcome |
| #channel | watch | support | unsupported-install |

هل أفتقد شيئاً؟

---

_[View the full topic](https://meta.discourse.org/t/clarification-around-tag-subscriptions/61480)._
