diff --git a/res/app/group-list/group-list-controller.js b/res/app/group-list/group-list-controller.js index d86315df8d..a9fc7b4e6a 100644 --- a/res/app/group-list/group-list-controller.js +++ b/res/app/group-list/group-list-controller.js @@ -1,5 +1,5 @@ /** -* Copyright © 2019 code initially contributed by Orange SA, authors: Denis Barbaron - Licensed under the Apache license 2.0 +* Copyright © 2019-2024 code initially contributed by Orange SA, authors: Denis Barbaron - Licensed under the Apache license 2.0 **/ const _ = require('lodash') @@ -357,7 +357,7 @@ module.exports = function GroupListCtrl( CommonService.copyToClipboard(_.uniq(groups.map(function(group) { return group.owner.email })) - .join(SettingsService.get('emailSeparator'))) + .join(SettingsService.get('emailAddressSeparator'))) .url('mailto:?body=*** Paste the email addresses from the clipboard! ***') } @@ -366,7 +366,7 @@ module.exports = function GroupListCtrl( CommonService.copyToClipboard(users.map(function(user) { return user.email }) - .join(SettingsService.get('emailSeparator'))) + .join(SettingsService.get('emailAddressSeparator'))) .url('mailto:?body=*** Paste the email addresses from the clipboard! ***') } diff --git a/res/app/settings/groups/groups-controller.js b/res/app/settings/groups/groups-controller.js index 3dbee0f5ef..4cc953e33b 100644 --- a/res/app/settings/groups/groups-controller.js +++ b/res/app/settings/groups/groups-controller.js @@ -1,5 +1,5 @@ /** -* Copyright © 2019 code initially contributed by Orange SA, authors: Denis Barbaron - Licensed under the Apache license 2.0 +* Copyright © 2019-2024 code initially contributed by Orange SA, authors: Denis Barbaron - Licensed under the Apache license 2.0 **/ const _ = require('lodash') @@ -330,7 +330,7 @@ module.exports = function GroupsCtrl( CommonService.copyToClipboard(_.uniq(groups.map(function(group) { return group.owner.email })) - .join(SettingsService.get('emailSeparator'))) + .join(SettingsService.get('emailAddressSeparator'))) .url('mailto:?body=*** Paste the email addresses from the clipboard! ***') } @@ -343,7 +343,7 @@ module.exports = function GroupsCtrl( CommonService.copyToClipboard(users.map(function(user) { return user.email }) - .join(SettingsService.get('emailSeparator'))) + .join(SettingsService.get('emailAddressSeparator'))) .url('mailto:?body=*** Paste the email addresses from the clipboard! ***') } diff --git a/res/app/settings/users/users-controller.js b/res/app/settings/users/users-controller.js index a437dae8a9..75194ad942 100644 --- a/res/app/settings/users/users-controller.js +++ b/res/app/settings/users/users-controller.js @@ -1,5 +1,5 @@ /** -* Copyright © 2019 code initially contributed by Orange SA, authors: Denis Barbaron - Licensed under the Apache license 2.0 +* Copyright © 2019-2024 code initially contributed by Orange SA, authors: Denis Barbaron - Licensed under the Apache license 2.0 **/ const _ = require('lodash') @@ -83,7 +83,7 @@ module.exports = function UsersCtrl( CommonService.copyToClipboard(users.map(function(user) { return user.email }) - .join(SettingsService.get('emailSeparator'))) + .join(SettingsService.get('emailAddressSeparator'))) .url('mailto:?body=*** Paste the email addresses from the clipboard! ***') }