diff --git a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-options/component.jsx b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-options/component.jsx
index 367ba4694c..bd9fa806ee 100755
--- a/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-options/component.jsx
+++ b/bigbluebutton-html5/imports/ui/components/user-list/user-list-content/user-participants/user-options/component.jsx
@@ -99,12 +99,8 @@ class UserOptions extends PureComponent {
const mimeType = 'text/plain';
const userNamesObj = userListService.getUsers();
- let userNameListString = '';
-
- Object.keys(userNamesObj).forEach((key) => {
- userNameListString += userNamesObj[key].name;
- userNameListString += '\n';
- });
+ const userNameListString = Object.keys(userNamesObj)
+ .map(key => userNamesObj[key].name, []).join('\r\n');
link.setAttribute('download', `save-users-list-${Date.now()}.txt`);
link.setAttribute(
'href',