From 56555bcd16f607f896da46748466ab2b58fb40a3 Mon Sep 17 00:00:00 2001 From: Martin Schoeler Date: Fri, 2 Jun 2017 15:40:40 -0300 Subject: [PATCH] fix reactions --- packages/rocketchat-ui-message/client/message.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rocketchat-ui-message/client/message.js b/packages/rocketchat-ui-message/client/message.js index 92d1db91acec..bf7675a7f515 100644 --- a/packages/rocketchat-ui-message/client/message.js +++ b/packages/rocketchat-ui-message/client/message.js @@ -206,7 +206,7 @@ Template.message.helpers({ return Object.keys(this.reactions||{}).map(emoji => { const reaction = this.reactions[emoji]; const total = reaction.usernames.length; - let usernames = reaction.usernames.slice(0, 15).map(username => username === userUsername ? t('You').toLowerCase() : `@${ userUsername }`).join(', '); + let usernames = reaction.usernames.slice(0, 15).map(username => username === userUsername ? t('You').toLowerCase() : `@${ username }`).join(', '); if (total > 15) { usernames = `${ usernames } ${ t('And_more', { length: total - 15