Skip to content

Commit

Permalink
hotfix for endorsement notifications (notificationsFactory.endorsee)
Browse files Browse the repository at this point in the history
  • Loading branch information
matortheeternal committed Jan 23, 2017
1 parent d575c72 commit 912ddd9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ app.service('notificationsFactory', function() {
};

this.endorsee = function(event) {
if (content.target_user.id == factory.currentUserID) {
if (event.content.target_user.id == factory.currentUserID) {
return 'you';
} else {
return '<a href="#/user/{{content.target_user.id}}">{{content.target_user.username}}</a>'
Expand Down

0 comments on commit 912ddd9

Please sign in to comment.