Fix mentioning a deleted user's post (#41)
Fix mentioning a deleted user's post (#41)

Fixes #1956 - ErrorException: Trying to get property 'display_name' of 
non-object. ConfigureMentions::addPostId method set mention details 
based on if there was an existing post. This caused an error if there 
was an existing post, but the user who posted had been deleted. The 
mention details are now only set if there is a user associated with the 
post being mentioned.

flarum/flarum-ext-mentions,flarum/flarum-ext-mentions,flarum/flarum-ext-mentions