Open hairmare opened 5 years ago
@hairmare I see you forked from this repo, did you manage to hide the UI parts in the native apps as well or just the browser version?
@Tampa We did some work to hide the plus button on this branch: https://github.com/adfinis-forks/mattermost-plugin-disable-dm/tree/dev/webapp. The change only works for the web-app and not for the native app which is why the original issue is still unsolved for us.
Hi
Any hope of Disabling DMs based on user roles would be a nice addition as well as basically hiding the plus button?
Regards
As I mentioned in https://github.com/mattermost/mattermost-server/issues/2440#issuecomment-492180042 the DM-UI needs some polish to make it viable in a educational context.
Right now the plugin blocks DMs to a user and displays this as follows:
In cases where sending DMs is blocked the user is still able to create a new DM-Channel which then doesn't work. A more intuitive approach would be to hide the plus button next to "direct message" so users on an instance with disabled DMs can't even open a new DM-Channel.