mirror of
https://github.com/discourse/discourse.git
synced 2026-07-30 08:08:20 -05: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.