Skip to content

Commit

Permalink
[FIX] Correct roomName value in Mail Messages (#12453)
Browse files Browse the repository at this point in the history
  • Loading branch information
vinade authored and ggazzo committed Oct 29, 2018
1 parent 5e6f5ae commit dac36fe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Template.mailMessagesInstructions.helpers({
},
roomName() {
const room = ChatRoom.findOne(Session.get('openedRoom'));
return room && room.name;
return room && RocketChat.roomTypes.getRoomName(room.t, room);
},
erroredEmails() {
const instance = Template.instance();
Expand Down

0 comments on commit dac36fe

Please sign in to comment.