mirror of
https://github.com/discourse/discourse.git
synced 2025-02-10 21:34:50 +00:00
When 2ac9fd9dff5a2a9210e2b1b765e1a324bbb4f421 was done, this affected the small post that is created when forwarding an email into the group inbox. Instead of using the name and the email of the user who forwarded the email, it used the original from email and name to create the small post. So instead of something like "Discourse Team forwarded the above email" we ended up with "John Smith forwarded the above email" which is incorrect. This fixes the issue by creating a staged user for the forwarding email address (if such a user does not yet exist) and uses that for the "forwarded" small post instead.