When resending the same message, PM returns the "Whoa cowboy" repost warning. According to Tanctalus, the user's last message is cached somewhere, and only after that it gets saved to the database. The caching happens in the described case, but saving to the database does not.