# How does Mute interact with other subscription types in the official slack plugin?

**URL:** https://meta.discourse.org/t/how-does-mute-interact-with-other-subscription-types-in-the-official-slack-plugin/60654
**Category:** Support
**Tags:** chat-integration
**Created:** [08.Апрель.2017 17:25:25 UTC](https://meta.discourse.org/t/how-does-mute-interact-with-other-subscription-types-in-the-official-slack-plugin/60654 "2017-04-08T17:25:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![mcwumbly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mcwumbly/32/103861_2.png) [@mcwumbly](https://meta.discourse.org/u/mcwumbly)
#### Post date: [08.Апрель.2017 17:25:25 UTC](https://meta.discourse.org/t/how-does-mute-interact-with-other-subscription-types-in-the-official-slack-plugin/60654/1 "2017-04-08T17:25:25Z")

</div>

With the official slack plugin, when you do the following, it’s not clear what behavior to expect:

```plaintext
/discourse watch foo
Watched category foo

/discourse watch bar
Watched category bar

/discourse mute all
Muted all categories on this channel

```

At this stage, the admin plugin settings show three rows:

1. Foo, #my-channel, All posts and replies
2. Bar, #my-channel, All posts and replies
3. All categories, #my-channel, Muting

When in this state, what should happen when a post is made in the Foo category?

If Mute overrides other settings, than I think I want to be able to “Unmute” All categories in this example (or maybe more generally delete a particular subscription from the slack command)

Alternatively, if the settings were:

1. Bar, #my-channel, Muting
2. All categories, #my-channel, All posts and replies

What should happen when a post is made in the Bar category?

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [09.Апрель.2017 08:27:24 UTC](https://meta.discourse.org/t/how-does-mute-interact-with-other-subscription-types-in-the-official-slack-plugin/60654/2 "2017-04-09T08:27:24Z")

</div>

As per my understanding of existing message sending code

Yes. Mute overrides other settings.

* * *

> [@mcwumbly](#):
>
> I want to be able to “Unmute” All categories in this example (or maybe more generally delete a particular subscription from the slack command)

I guess we should have something like below

> [@Cannot watch multiple tags using slash command](https://meta.discourse.org/t/cannot-watch-multiple-tags-using-slash-command/60653/3):
>
> command to un(watch|follow|mute) tags and categories explicitly

* * *

> [@mcwumbly](#):
>
> if the settings were:
> 
> Bar, #my-channel, Muting  
> All categories, #my-channel, All posts and replies
> 
> What should happen when a post is made in the Bar category?

May be we have problem here. It may still send message to #my-channel.

I think we should come out from loop instead of moving to next record in [this condition](https://github.com/discourse/discourse-slack-official/blob/master/lib/discourse_slack/slack.rb#L174). Particularly when `i[:filter] == 'mute'`. Am I right @tgxworld?

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [10.Октябрь.2017 07:30:42 UTC](https://meta.discourse.org/t/how-does-mute-interact-with-other-subscription-types-in-the-official-slack-plugin/60654/3 "2017-10-10T07:30:42Z")

</div>


