Incorrect title on group mention desktop notification

Summary:

Upon receiving a notification for a group mention, the title of the desktop notification does not work.

Steps to reproduce:

  1. Enable desktop notifications in your browser.
  2. Be part of a group that has group mentions enabled
  3. Have browser and discourse open when group is mentioned

Expected Results:

Topic where mention was generated from appears as the notification title

Actual Results:

Title does not appear, instead the following title is used:

[en.notifications.popup.group_mentioned]

Notes:

The group mentioned in this case is the built in moderators group, no idea if this is relevant. Also, group mention was part of an edit.

Attachments:

Screenshot of notification:

Link to post where group mention was made via an edit:


Link without oneboxing: http://discourse.stonehearth.net/t/the-buildings-my-hearthling-will-not-build-thread/14704/45?u=jomaxro

Versions and Mods:

Discourse 1.5.0.beta7 (discourse.stonehearth.net)

System Information:

Windows 10 Pro, Chrome Stable 47

4 Likes

Fixed :ant:

https://github.com/discourse/discourse/commit/70e095549840b18298b8706c385f227e4ded5202

5 Likes