# \[SOLVED\] Bogus "they do not belong to this channel" message

**URL:** <https://forum.mattermost.com/t/solved-bogus-they-do-not-belong-to-this-channel-message/2526>\
**Category:** Troubleshooting\
**Created:** [November 23, 2016, 10:17am UTC](https://forum.mattermost.com/t/solved-bogus-they-do-not-belong-to-this-channel-message/2526 "2016-11-23T10:17:30Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![gubbins](https://avatars.discourse-cdn.com/v4/letter/g/cab0a1/32.png) [@gubbins](https://forum.mattermost.com/u/gubbins)\
**Post date:** [November 23, 2016, 10:17am UTC](https://forum.mattermost.com/t/solved-bogus-they-do-not-belong-to-this-channel-message/2526/1 "2016-11-23T10:17:30Z")

</div>

For feature requests, please see: [http://www.mattermost.org/feature-requests/](http://www.mattermost.org/feature-requests/).

For troubleshooting questions, please post in the following format:

#### Summary

A specific user is in several channels, but when someone mentions them by @username they see a bogus message “username was mentioned, but they did not receive a notification because they do not belong to this channel.”

#### Steps to reproduce

Has occurred since upgrading from 3.2 to 3.5. Conditions to reproduce are otherwise unknown.

#### Expected behavior

Since the user is in the channel we do not expect this message to appear, and we expect the user to get a notification.

#### Observed behavior

Observations:

- username is correct in the user’s account settings and in the database
- user is shown as a channel member and is in the ChannelMembers database table, and has many posts in the channel
- autocomplete of the username works fine, and shows the user as in the channel
- using other mention words seems to work as expected - only the username has this curious effect

---

<div class="post-metadata">

**Author:** ![lfbrock](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lfbrock/32/1901_2.png) [@lfbrock](https://forum.mattermost.com/u/lfbrock)\
**Post date:** [November 23, 2016, 2:22pm UTC](https://forum.mattermost.com/t/solved-bogus-they-do-not-belong-to-this-channel-message/2526/2 "2016-11-23T14:22:54Z")

</div>

Hi @gubbins - can you check if they have notifications for @username disabled? I think it might be causing the issue.

(Account settings \> Notifications \> Words that Trigger Mentions \> Your username mentioned “@username”).

We’re thinking about getting rid of this setting, since when people send “@username” they expect the person to be notified, and it doesn’t really make sense to let people turn it off (they can just turn off desktop/email notifications if they want no notifications).

---

<div class="post-metadata">

**Author:** ![gubbins](https://avatars.discourse-cdn.com/v4/letter/g/cab0a1/32.png) [@gubbins](https://forum.mattermost.com/u/gubbins)\
**Post date:** [November 24, 2016, 10:57pm UTC](https://forum.mattermost.com/t/solved-bogus-they-do-not-belong-to-this-channel-message/2526/3 "2016-11-24T22:57:27Z")

</div>

Thanks, yes they did not have this enabled but they had a different “@otherusername” in their NotifyProps. Resolving that restored normal behaviour.

This is still unexpected behaviour, right? With those settings, I would have expected them to simply not get a mention, and the “they do not belong to this channel” message should not be shown.

I agree that removing the setting sounds sensible!

---

<div class="post-metadata">

**Author:** ![lfbrock](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/lfbrock/32/1901_2.png) [@lfbrock](https://forum.mattermost.com/u/lfbrock)\
**Post date:** [December 8, 2016, 5:18pm UTC](https://forum.mattermost.com/t/solved-bogus-they-do-not-belong-to-this-channel-message/2526/4 "2016-12-08T17:18:57Z")

</div>

Yeah it’s unexpected behaviour, getting the “they do not belong to this channel” message was a bug.

The setting is removed now on master, so the message shouldn’t show up in the next release 🙂

---

<div class="post-metadata">

**Author:** ![gubbins](https://avatars.discourse-cdn.com/v4/letter/g/cab0a1/32.png) [@gubbins](https://forum.mattermost.com/u/gubbins)\
**Post date:** [December 13, 2016, 9:25am UTC](https://forum.mattermost.com/t/solved-bogus-they-do-not-belong-to-this-channel-message/2526/5 "2016-12-13T09:25:22Z")

</div>

Sounds good, thanks.
