diff --git a/react/features/base/react/components/web/Message.js b/react/features/base/react/components/web/Message.js index 6469f1f6d..8ce84075f 100644 --- a/react/features/base/react/components/web/Message.js +++ b/react/features/base/react/components/web/Message.js @@ -70,9 +70,9 @@ class Message extends Component { } } - content.forEach(token => { + content.forEach((token, index) => { if (typeof token === 'string' && token !== ' ') { - message.push({ token }); + message.push({ token }); } else { message.push(token); }