-
Notifications
You must be signed in to change notification settings - Fork 640
Send email on crate owner invitation #1909
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
Conversation
If the recipient of a crate ownership invitation has a verified email address, they will be sent an email indicating that a specified user has invited them to become an owner of a named crate. Only sends the email on the first instance of an invitation.
r? @jtgeibel (rust_highfive has picked a reviewer for you, use r? to override) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's working great! I tried it out locally and I saw an email sent when I invited another user to a crate! 🎉
The code is really close! I think the email subject could use a tiny bit of tweaking, and we can get rid of a conditional in the krate model. Let me know if you have any questions! Thank you!!!
I made the requested changes as an additional commit, but if preferred, I can squash that down to just the one. |
0c7de44
to
cef0429
Compare
Whoops, looks like I had a formatting issue initially, should be ok now though. |
Looks great now!! Thank you so much!! @bors r+ |
📌 Commit cef0429 has been approved by |
Send email on crate owner invitation If the recipient of a crate ownership invitation has a verified email address, they will be sent an email indicating that a specified user has invited them to become an owner of a named crate. Only sends the email on the first instance of an invitation. Completes the first part of #1360.
☀️ Test successful - checks-travis |
If the recipient of a crate ownership invitation has a verified email address, they will be sent an email indicating that a specified user has invited them to become an owner of a named crate. Only sends the email on the first instance of an invitation.
Completes the first part of #1360.