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

WIP 239 Conversation Notifications #104

Merged
merged 2 commits into from
Jan 26, 2014

Conversation

austinylin
Copy link
Contributor

This PR effectively adds New Conversation Notifications by enhancing the existing message notification system.

Conversation#mailing_list is added to return the list of people to send emails to regarding that Conversation. This list contains the participants (people who have actually authored messages) and if assigned the agent. If unassigned the entire team (Account.people) are added.

So when a new message comes in the email notification list is now based on assigned status:

  • ASSIGNED: conversation.participants + conversation.agent - message.person (the author of the new message)
  • UN-ASSIGNED: conversation.participants + conversation.account.people - message.person (the author of the new message)

WIP: https://assemblymade.com/helpful/wips/239

This commit effectively adds New Conversation Notifications by enhancing the existing message notification system.

Conversation#mailing_list is added to return the list of people to send emails to regarding that Conversation. This list contains the participants (people who have actually authored messages) and if assigned the agent. If unassigned the entire team (Account.people) are added.
@chrislloyd
Copy link
Contributor

If you think this is good, go ahead and merge it. No need to ask for permission :)

austinylin added a commit that referenced this pull request Jan 26, 2014
@austinylin austinylin merged commit c51e137 into asm-helpful:master Jan 26, 2014
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.

2 participants