How to change the max length for direct messages via the flag button

The workaround is to click on the avatar to open up the user card, and click Message from there.