mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Followup to 9762e65758. 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.