mirror of
https://github.com/discourse/discourse.git
synced 2026-07-31 00:28:19 -05:00
Prior to this fix, if the last message of a thread had been made by a deleted user it would cause an exception as we would have no user to display, this commit uses a solution we have been using at other places: the null pattern, through the use of `Chat::NullUser.new`.