I need to be able to prevent none admin users from sending direct messages to each other. There are setting that prevent users from creating private channels which is great but also need them to not be able to send direct messages to each other. The intention here is that all communication needs to be public to the group except for the admin.
I have seen a permission create_direct_channel which seems to only be available to on prem installs, is that correct?
Have also seen a plugin for this but again that seems to only be available to non cloud.
I stumbled across this thread, but wanted to share that I have implemented something like this in the rocky linux community toolkit plugin I am developing, which is based on the “profanity filter” plugin, but has a lot of other features.
The original intent of the Block PM feature was to prevent new users from sending PMs to others until a certain time passes (e.g., to prevent someone being spammed or attacked via PM), but I can certainly make it so that if you set the time to a negative duration, no PMs will be allowed at all.