Remove 'Send PM' flag option

AI-generated summary

The discussion revolves around the removal of the ‘Send PM’ option when flagging posts, which has appeared after a recent update. rstew reports that this feature is problematic for their closed, moderated community, as it allows private messages that cannot be monitored. Canapin acknowledges the issue and provides a CSS workaround to hide the option, though it is not a built-in setting. JammyDodger clarifies that the feature is not new and is controlled by the personal message enabled groups setting, suggesting the change may be due to a permission adjustment rather than a new feature.

Hi, After the latest update, we’ve had a function appear when flagging a post that allows the person flagging to DM the original poster. Is there a way to turn this option off?
Thanks

Hello Rebecca :wave:

Are you talking about this feature?

Yes that’s the one. Our community is closed and closely moderated so we want to pick up the flags without there being other discussions we can’t see.

There is no specific class to hide this element with CSS. A hacky one would be:

.flag-modal-body > form > div > .flag-action-type:first-child {
    h3:first-child, .controls, hr {
        display: none;
    }
}

Would this solution solve your issue?

Just to note, that’s not a new feature so it suddenly popping up when it wasn’t there before may be down to a setting change? It’s disabled for any group/trust level that doesn’t have permission to send PMs. You could double check your personal message enabled groups setting to see if that’s as you expect it to be?