mirror of
https://github.com/discourse/discourse.git
synced 2026-08-04 10:23:17 -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.