Skip to content
Snippets Groups Projects
Unverified Commit 7f2d60ab authored by Rodrigo Nascimento's avatar Rodrigo Nascimento Committed by GitHub
Browse files

Merge pull request #8645 from RocketChat/sampaiodiego-patch-1

[FIX] Fix e-mail message forward
parents 8cb303a5 308d937e
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ Meteor.methods({ ...@@ -55,7 +55,7 @@ Meteor.methods({
if (data.language !== 'en') { if (data.language !== 'en') {
const localeFn = Meteor.call('loadLocale', data.language); const localeFn = Meteor.call('loadLocale', data.language);
if (localeFn) { if (localeFn) {
Function(localeFn)({moment}); Function(localeFn).call({moment});
moment.locale(data.language); moment.locale(data.language);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment