This is controlled through the admin tab and a new field in the Realms table. This mirrors the behavior of the old hardcoded setting feature_flags.disable_message_editing. Partially resolves #903.