# Direct MESSAGES

**URL:** <https://forum.mattermost.com/t/direct-messages/6854>\
**Category:** Troubleshooting\
**Created:** [March 15, 2019, 6:05am UTC](https://forum.mattermost.com/t/direct-messages/6854 "2019-03-15T06:05:39Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![vibhi](https://avatars.discourse-cdn.com/v4/letter/v/977dab/32.png) [@vibhi](https://forum.mattermost.com/u/vibhi)\
**Post date:** [March 15, 2019, 6:05am UTC](https://forum.mattermost.com/t/direct-messages/6854/1 "2019-03-15T06:05:39Z")

</div>

When i click on DM it shows all registered user on our mattermost server is there any way to to hide that i want only know user can connect between each other? We are planning an big public server for people.

---

<div class="post-metadata">

**Author:** ![dannymohammad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/dannymohammad/32/2489_2.png) [@dannymohammad](https://forum.mattermost.com/u/dannymohammad)\
**Post date:** [March 15, 2019, 7:15am UTC](https://forum.mattermost.com/t/direct-messages/6854/2 "2019-03-15T07:15:45Z")

</div>

Hi, @vibhi

As far as I know, Mattermost does not have such feature that allows admins to control and limit visibility of the entire set of users to specific accounts since the purpose of Mattermost encourages collaboration between teams through chatting, sharing files, channel specific communication, and many more.

In your case, you might want to create separate [teams](https://docs.mattermost.com/help/getting-started/welcome-to-mattermost.html#teams) to limit communication among a specific set of users rather than having a big public server. Out of curiosity nevertheless, may I know the use case of limiting communication among users? For example, is this a special requirement that allow users from the same department to only chat among each other?

---

<div class="post-metadata">

**Author:** ![vibhi](https://avatars.discourse-cdn.com/v4/letter/v/977dab/32.png) [@vibhi](https://forum.mattermost.com/u/vibhi)\
**Post date:** [March 15, 2019, 2:21pm UTC](https://forum.mattermost.com/t/direct-messages/6854/3 "2019-03-15T14:21:57Z")

</div>

Thanks for reply @dannymohammad  
Mine user case isnt related to teams or Company/department.

So we wanted to give our user an solid complete alternative to whats app that is opensource and doesn’t mine any type of data.and User friendly.So The only issue we have is this as People use whats app so they can connect to only known user and mattermost show everyone when click on DM so if something like that can be doen that would be awesome

I looked into XMPP the issue there is basically its not that user friendly and apps to seems complicated for normal users,

---

<div class="post-metadata">

**Author:** ![vibhi](https://avatars.discourse-cdn.com/v4/letter/v/977dab/32.png) [@vibhi](https://forum.mattermost.com/u/vibhi)\
**Post date:** [March 16, 2019, 4:44pm UTC](https://forum.mattermost.com/t/direct-messages/6854/4 "2019-03-16T16:44:08Z")

</div>

Looks like no help regarding that huh!

---

<div class="post-metadata">

**Author:** ![dannymohammad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/dannymohammad/32/2489_2.png) [@dannymohammad](https://forum.mattermost.com/u/dannymohammad)\
**Post date:** [March 18, 2019, 2:54am UTC](https://forum.mattermost.com/t/direct-messages/6854/5 "2019-03-18T02:54:09Z")

</div>

Hi, @vibhi

Pardon me for the radio silence as I was away for the last couple of days. I am double checking with the team to see if there is any of achieving this nevertheless.

I came across the following suggestion that discusses the need to disable direct messaging, which could also be applied in your scenario.

- [Disable direct messages](https://mattermost.uservoice.com/forums/306457-general/suggestions/12954666-disable-direct-messages)

However, another scenario needs to be taken into consideration where users create private channels as another alternative as mentioned here:

- [Option to disable direct messages](https://github.com/mattermost/mattermost-server/issues/2440#issuecomment-292799292)

So, a lot of things to take into consideration here.

---

<div class="post-metadata">

**Author:** ![dannymohammad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/dannymohammad/32/2489_2.png) [@dannymohammad](https://forum.mattermost.com/u/dannymohammad)\
**Post date:** [March 18, 2019, 7:39am UTC](https://forum.mattermost.com/t/direct-messages/6854/6 "2019-03-18T07:39:24Z")

</div>

Hello again, @vibhi

I received confirmation from the team on the following:

> More-or-less the answer is ‘no’. However, this is in our roadmap via a feature called “ethical boundaries” which prevents one group of users from communicating with another group of users.
> 
> That said, there is a plugin that allows one to disable DMs via this plugin [GitHub - Brightscout/mattermost-plugin-disable-dm: A mattermost plugin to disable direct messages and group chats.](https://github.com/Brightscout/mattermost-plugin-disable-dm)
> 
> You can find some early design/requirements documentation of the feature in the channel header here [Mattermost](https://community.mattermost.com/core/channels/ee-ethical-boundaries)

Perhaps you can give the plugin a try and let me know if it helps to cater to the requirement that you have for now. Additionally, I would recommend you to join the channel for more visibility on the planned feature.

---

<div class="post-metadata">

**Author:** ![vibhi](https://avatars.discourse-cdn.com/v4/letter/v/977dab/32.png) [@vibhi](https://forum.mattermost.com/u/vibhi)\
**Post date:** [March 19, 2019, 1:43pm UTC](https://forum.mattermost.com/t/direct-messages/6854/7 "2019-03-19T13:43:38Z")

</div>

I think you didnt understand me what i wanted so I wanted that only known user can dm each other For example in Whatsapp You can only chat with person that has your number or you have that persons number.

Right now in mattermost when you click on + DM it basically shows you all the registered user on the server.is there something can be doen on that side.

I am dying to use mattermost as its just so smooth and I love the UI . It connect faster its just perfect.

---

<div class="post-metadata">

**Author:** ![dannymohammad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/dannymohammad/32/2489_2.png) [@dannymohammad](https://forum.mattermost.com/u/dannymohammad)\
**Post date:** [March 20, 2019, 12:33am UTC](https://forum.mattermost.com/t/direct-messages/6854/8 "2019-03-20T00:33:10Z")

</div>

Hello, @vibhi

Allow me to understand the requirement that you have a little better. In this case, you would like to have a functionality similar to WhatsApp, which will only allow users to chat with users that are added to their contact list (in this case, email). I hope I get this right.

**Sample use case:**

1. I signed up for Mattermost using [a@b.com](mailto:a@b.com) email address
2. Once logged in, I add the following users to my contact list ([c@d.com](mailto:c@d.com), [e@f.com](mailto:e@f.com), [f@g.com](mailto:f@g.com))
3. I can then establish conversation with 3 users only and / or create a room to add all of them to chat together
4. Other user (for example [c@d.com](mailto:c@d.com)) can add other users to their contact list ([h@i.com](mailto:h@i.com), [j@k.com](mailto:j@k.com)) but it will not be visible to me

Can you please confirm if this is what you would like to achieve with Mattermost?

---

<div class="post-metadata">

**Author:** ![vibhi](https://avatars.discourse-cdn.com/v4/letter/v/977dab/32.png) [@vibhi](https://forum.mattermost.com/u/vibhi)\
**Post date:** [March 20, 2019, 2:26am UTC](https://forum.mattermost.com/t/direct-messages/6854/9 "2019-03-20T02:26:17Z")

</div>

Yes, You are right that is what i want.

---

<div class="post-metadata">

**Author:** ![amy.blais](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/amy.blais/32/7481_2.png) [@amy.blais](https://forum.mattermost.com/u/amy.blais)\
**Post date:** [March 20, 2019, 12:41pm UTC](https://forum.mattermost.com/t/direct-messages/6854/10 "2019-03-20T12:41:36Z")

</div>

Hi @vibhi,

This is currently not a feature that we support. Would you be open to sharing this idea on our feature request forum here: [https://mattermost.uservoice.com/forums/306457-general](https://mattermost.uservoice.com/forums/306457-general)?

---

<div class="post-metadata">

**Author:** ![vibhi](https://avatars.discourse-cdn.com/v4/letter/v/977dab/32.png) [@vibhi](https://forum.mattermost.com/u/vibhi)\
**Post date:** [March 20, 2019, 4:59pm UTC](https://forum.mattermost.com/t/direct-messages/6854/11 "2019-03-20T16:59:35Z")

</div>

I know that is why i am here. is there any way that i can achieve something like this its very important by the way

I will create a post on provided link

[https://mattermost.uservoice.com/forums/306457-general/suggestions/37155721-direct-messages-only-between-known-user](https://mattermost.uservoice.com/forums/306457-general/suggestions/37155721-direct-messages-only-between-known-user)

---

<div class="post-metadata">

**Author:** ![vibhi](https://avatars.discourse-cdn.com/v4/letter/v/977dab/32.png) [@vibhi](https://forum.mattermost.com/u/vibhi)\
**Post date:** [March 21, 2019, 4:43pm UTC](https://forum.mattermost.com/t/direct-messages/6854/12 "2019-03-21T16:43:35Z")

</div>

> [@amy.blais](#):
>
> [General: Hot (1149 ideas) – Mattermost Feature Proposal Forum](https://mattermost.uservoice.com/forums/306457-general)?

I cant find my created post on this link

---

<div class="post-metadata">

**Author:** ![vibhi](https://avatars.discourse-cdn.com/v4/letter/v/977dab/32.png) [@vibhi](https://forum.mattermost.com/u/vibhi)\
**Post date:** [March 23, 2019, 12:09pm UTC](https://forum.mattermost.com/t/direct-messages/6854/13 "2019-03-23T12:09:38Z")

</div>

How much money it gonna take to create a plugin for this?

---

<div class="post-metadata">

**Author:** ![dannymohammad](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mattermost.com/dannymohammad/32/2489_2.png) [@dannymohammad](https://forum.mattermost.com/u/dannymohammad)\
**Post date:** [March 25, 2019, 12:23am UTC](https://forum.mattermost.com/t/direct-messages/6854/14 "2019-03-25T00:23:57Z")

</div>

Hi, @vibhi

Specific to this concern that you mentioned:

> [@vibhi](#):
>
> I cant find my created post on this link

Can you please try to locate your post through your profile by clicking on your name on the right side of the screen? For example:  
 ![27](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/6/60185199bef63e65b9debf566b5f7f09bdb2aed9.png)

You should then be presented with the following panel, which I believe should display the post you created before. Can you please confirm on that?

 ![39](https://us1.discourse-cdn.com/flex020/uploads/mattermost/original/2X/d/dfd8d62f1b0e8b86007ce42d1bcbb17b6feb385a.png)

Moving forward with this query that you have:

> [@vibhi](#):
>
> How much money it gonna take to create a plugin for this?

I would suggest you to also share this question to the [Community Channel](https://community.mattermost.com/) to see if other users might have a better idea on the cost of plugin development. Thanks.
