Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information