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

Add link to package in Contact Owners email #5202

Merged
merged 2 commits into from
Dec 19, 2017
Merged

Conversation

scottbommarito
Copy link
Contributor

@@ -208,7 +208,7 @@ public void WillCopySenderIfAsked()
};
var messageService = TestableMessageService.Create(GetConfigurationService());

messageService.SendContactOwnersMessage(from, package, "Test message", "http://someurl/", true);
messageService.SendContactOwnersMessage(from, package, "http://someurl/", "Test message", "http://someotherurl/", true);
Copy link
Member

Choose a reason for hiding this comment

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

Maybe distinguish the urls, like http://package-url/ and http://email-settings-url?

Should we have test to validate correct package url included?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

@skofman1 skofman1 left a comment

Choose a reason for hiding this comment

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

:shipit:

@@ -129,17 +129,17 @@ public void ReportMyPackage(ReportPackageRequest request)
}
}

public void SendContactOwnersMessage(MailAddress fromAddress, PackageRegistration packageRegistration, string message, string emailSettingsUrl, bool copySender)
public void SendContactOwnersMessage(MailAddress fromAddress, PackageRegistration packageRegistration, string packageUrl, string message, string emailSettingsUrl, bool copySender)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: may be format the parameters on new line?

@scottbommarito scottbommarito merged commit 8f74b0b into dev Dec 19, 2017
@scottbommarito scottbommarito deleted the sb-messageforowners branch December 19, 2017 20:14
@scottbommarito scottbommarito restored the sb-messageforowners branch July 22, 2019 23:20
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