Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mail messages #1733

Merged
merged 10 commits into from
Dec 22, 2015
Merged

Mail messages #1733

merged 10 commits into from
Dec 22, 2015

Conversation

marceloschmidt
Copy link
Member

No description provided.

@engelgabriel engelgabriel deployed to rocket-chat-pr-1733 December 22, 2015 18:02 Active
localeFn = Meteor.call 'loadLocale', data.language
if localeFn
Function(localeFn)()
moment.locale(data.language)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here are you changing the locale forever?
What happens if you send a mail in PT then another one in EN?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right! I should have used localMoment = moment().locale(...). I'll fix that.

@rodrigok
Copy link
Member

@marceloschmidt prints? 😸

@engelgabriel engelgabriel deployed to rocket-chat-pr-1733 December 22, 2015 18:24 Active
@sampaiodiego
Copy link
Member

is it intended to an user from any access level (not only admins) be able to send the conversation by email?

@marceloschmidt
Copy link
Member Author

Should we create roles for that?

@sampaiodiego
Copy link
Member

A permission at least.. So admins can create their own roles with that permission.

@engelgabriel engelgabriel deployed to rocket-chat-pr-1733 December 22, 2015 19:05 Active
@marceloschmidt
Copy link
Member Author

mailmessages

@marceloschmidt
Copy link
Member Author

Added mail-messages permission to admins only, for now.

@rodrigok
Copy link
Member

LGTM

@sampaiodiego
Copy link
Member

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants