mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
219b071994
Followup to 9762e6575841889d50275cb6026e4482d8091857. This original commit did not take into account the fact that new topics can end up in the approval queue as a ReviewableQueuedPost, and so there was a 500 error raised when accessing `self.topic` when sending a PM to the user.