Skip to content

Commit

Permalink
Merge pull request #7846 from RocketChat/hotfix/email-message-forward
Browse files Browse the repository at this point in the history
[FIX] Email message forward error
  • Loading branch information
rodrigok committed Aug 23, 2017
2 parents 521fcef + ca96c40 commit 6ac6d74
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ Meteor.methods({
if (data.language !== 'en') {
const localeFn = Meteor.call('loadLocale', data.language);
if (localeFn) {
Function(localeFn)();
Function(localeFn)({moment});
moment.locale(data.language);
}
}

Expand Down

0 comments on commit 6ac6d74

Please sign in to comment.