Add Option to Disable User-User Chat

Originally sent in The Chat Feedback topic

Is there an option to disable the private message feature on chat?


I don't think so, but it is a good suggestion :+1:


I think we should also have a setting to only let some people to send you a like the one for pms on the main site.


I would say the simplest thing to do is just lean on:


Unsure if we need one setting for DMs and one setting for PMs @mcwumbly ?


I agree. I think we can just use the existing setting and update the copy if necessary. I don’t see a compelling reason to have different settings for chat and non-chat direct/personal messages.


Some users (like myself) may not want to receive user-to-user chats but are fine with receiving personal messages.

In fact, I’ll be completely honest, if they can’t be disabled separately I would not use the plug-in on my own instances.


I’m somewhat similar. I think I’ve said it before but I like end-to-end encryption so much on private topics and fear having private chats unencrypted that I would probably want to keep private topics enabled and disable private chats until e2ee is available for that.

Ah, I was thinking of things the other way around initially: “If I’m already limiting who can send me a personal message, I probably don’t want people who can’t send me a personal message to direct message me on chat.”

In your case, are there cases where would you want to be able to allow a subset of people people who can PM you to send you direct messages on chat? Or would you always want to stop everyone from being to be able to send you direct messages on chat?

That’s something I completely agree with. There’s one instance I’m a moderator on where I’ve had to block certain users by admin request due to personality conflicts so definitely wouldn’t want them being able to initiate a chat.

This is actually a bit complicated because it depends on the instance really.

On one instance where I’m a moderator, the official moderation agreement we signed says we cannot use any chat platform to communicate one on one with users about moderation issues. Everything is required to be done via PMs and the moderators group is required to be included. In this case being able to disable the chat but keep PMs enabled is actually important.

On instances where I’m just a regular user I’m perfectly fine with just blocking specific users if they’re particularly annoying.

Honestly, ideal world for me would be to have separate block lists, but the developer in me hates the idea of adding a bunch of extra code to support that when most likely if someone doesn’t want to receive user-to-user chats from someone they’re also not going to want PMs from them either.


For that forum, would it make sense to disable user-to-user chat entirely for the whole site?

I’m circling back to this topic, and I think this is the place we need to start. I’d take it one smaller step further and say all those related settings on that page should apply equally to chat. (Ignoring and Muting users, as well as the Allow List for direct and personal messages).

Having additional settings for chat may be something we get to later, but I think it’ll be important to first prevent chat from being a loophole for these settings (with the possible exception of Ignore?)


An interesting and very correct thing we should do is make sure the chat plugin updates all the descriptions to match the new reality

It is “suppress all notifications, pms and dms” etc…

I wonder what the new description text is and if we can loosen core enough or we need to override?

1 Like