# Invited to topic wrong referenced user

**URL:** https://meta.discourse.org/t/invited-to-topic-wrong-referenced-user/42480
**Category:** Bug
**Created:** [April 13, 2016, 1:59am UTC](https://meta.discourse.org/t/invited-to-topic-wrong-referenced-user/42480 "2016-04-13T01:59:27Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![jesselperry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesselperry/32/119501_2.png) [@jesselperry](https://meta.discourse.org/u/jesselperry)
#### Post date: [April 13, 2016, 1:59am UTC](https://meta.discourse.org/t/invited-to-topic-wrong-referenced-user/42480/1 "2016-04-13T01:59:27Z")

</div>

I noticed when I invite a user to a topic, it incorrectly says in the email that the topic creator invited the user (instead of correctly stating that I invited the user)

Oddly it seems very similar to this bug referenced back in '13: [Invite notification email is from topic OP author, not inviter](https://meta.discourse.org/t/invite-notification-email-is-from-topic-op-author-not-inviter/37883)

It would seem that in the USER\_NOTIFICATIONS.INVITED\_TO\_TOPIC\_BODY Text Content in Discourse, %{username} just needs to be changed to %{invitee\_name}

If I knew how to submit a PR I would 😕

---

<div class="post-metadata">

### Author: ![jesselperry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jesselperry/32/119501_2.png) [@jesselperry](https://meta.discourse.org/u/jesselperry)
#### Post date: [April 13, 2016, 2:09am UTC](https://meta.discourse.org/t/invited-to-topic-wrong-referenced-user/42480/2 "2016-04-13T02:09:56Z")

</div>

Ok, now a bug when I try to manually change this myself in Discourse ☹

The email arrives just with this in the body: `translation missing: en.user_notifications.invited_to_topic_body`

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 13, 2016, 2:12am UTC](https://meta.discourse.org/t/invited-to-topic-wrong-referenced-user/42480/3 "2016-04-13T02:12:25Z")

</div>

Hmm can you repro this @techapj?

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [April 13, 2016, 6:15am UTC](https://meta.discourse.org/t/invited-to-topic-wrong-referenced-user/42480/4 "2016-04-13T06:15:54Z")

</div>

> [@jesselperry](#):
>
> I noticed when I invite a user to a topic, it incorrectly says in the email that the topic creator invited the user (instead of correctly stating that I invited the user)

Yes, this was a recent regression. Fixed via:

[https://github.com/discourse/discourse/commit/51d194cc212cae261a09ca243825a2532c0d35d1](https://github.com/discourse/discourse/commit/51d194cc212cae261a09ca243825a2532c0d35d1)

Thanks for reporting it. 👍

* * *

> [@jesselperry](#):
>
> Ok, now a bug when I try to manually change this myself in Discourse ☹
> 
> The email arrives just with this in the body: translation missing: en.user\_notifications.invited\_to\_topic\_body

I am not able to repro this.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [April 15, 2016, 6:41am UTC](https://meta.discourse.org/t/invited-to-topic-wrong-referenced-user/42480/5 "2016-04-15T06:41:41Z")

</div>

This topic was automatically closed after 2 days. New replies are no longer allowed.
