A bug in Discourse 2.6.0b1 has been reported by adamengst, where sending a message on a deleted post generates an error dialog. The message is sent successfully, but the error occurs nonetheless. blake has provided a fix for this issue, allowing users to send a private message (PM) to a user on a deleted post. However, there’s a caveat: if the post is deleted before flagging, the PM will not contain the quoted post, only a link to the deleted post that the user can’t access.
As far as I can tell, the message is sent properly, although when I retested this to get the screenshot, I noticed that the text of my first message had been remembered when I started to send the second message.
I realize I could probably avoid this by sending the message before deleting the post, but somehow that seems backward to me because I’m explaining something I’ve done, not something I’m about to do.
Because we allow the other flag types on deleted posts I think we should still allow you to send a pm to a user on a deleted post. The downside however is that if you delete the post before you flag it when you send the PM to the user it won’t contain the quoted post you deleted and it will just be a link to the deleted post that the user won’t be able to see anymore. Which probably isn’t a big deal, but wanted to bring it up.