Liquid Tags does not respect company avatar #11880

Describe the bug

When using liquid tags on a post that was published under an organization it shows the users avatar.

To Reproduce

  1. Create a post under an organization
  2. Add it as liquid tag into a comment or another post
  3. The avatar displayed will be the poster's.

Expected behavior

Everywhere the way a organization post's avatar is the organization's avatar and in small the poster's avatar (notification, dashboard, homepage).

When using the liquid tags it should show the avatar in the same way


Organizaiton's post avatar:

Screenshot 2020-12-14 at 10 02 49 AM

On the homepage the avatar is the same style:

Screenshot 2020-12-14 at 10 03 57 AM

When using Liquid tags we don't get this behavior:

Screenshot 2020-12-14 at 10 05 01 AM

Desktop (please complete the following information):

  • OS, version: MacOS
  • Browser, version: Firefox 83.0