Skip to content

Commit

Permalink
Merge pull request #467 from rwakida/bugfix/466
Browse files Browse the repository at this point in the history
User left message token replacement not working
  • Loading branch information
rodrigok committed Aug 15, 2015
2 parents 34d2708 + c04fab5 commit 8e0f5e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/views/app/message.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Template.message.helpers
when 'r' then t('Room_name_changed', { room_name: this.msg, user_by: this.u.username })
when 'au' then t('User_added_by', { user_added: this.msg, user_by: this.u.username })
when 'ru' then t('User_removed_by', { user_removed: this.msg, user_by: this.u.username })
when 'ul' then tr('User_left', { context: this.u.gender }, { user_left: this.u.username })
when 'ul' then t('User_left', { user_left: this.u.username })
when 'nu' then t('User_added', { user_added: this.u.username })
when 'uj' then tr('User_joined_channel', { context: this.u.gender }, { user: this.u.username })
when 'uj' then t('User_joined_channel', { user: this.u.username })
when 'wm' then t('Welcome', { user: this.u.username })
when 'rtc' then RocketChat.callbacks.run 'renderRtcMessage', this
else
Expand Down

0 comments on commit 8e0f5e3

Please sign in to comment.