summaryrefslogtreecommitdiff
path: root/notifications.go
diff options
context:
space:
mode:
authorJan Dittberner <jan@dittberner.info>2017-04-21 21:41:25 +0200
committerJan Dittberner <jan@dittberner.info>2017-04-22 00:14:38 +0200
commitfd0a8ed972f6b9327d118292b46ab5c601a48ac3 (patch)
tree867268f77f669e7e92b6d1fad3781d1901f05cd7 /notifications.go
parentc6b1435875594ad568116da1c6ef1b27cb2f2ffe (diff)
downloadcacert-boardvoting-fd0a8ed972f6b9327d118292b46ab5c601a48ac3.tar.gz
cacert-boardvoting-fd0a8ed972f6b9327d118292b46ab5c601a48ac3.tar.xz
cacert-boardvoting-fd0a8ed972f6b9327d118292b46ab5c601a48ac3.zip
Run goose migration on application startup
Diffstat (limited to 'notifications.go')
-rw-r--r--notifications.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/notifications.go b/notifications.go
index d4c405a..aa8c7a8 100644
--- a/notifications.go
+++ b/notifications.go
@@ -83,7 +83,7 @@ func buildMail(templateName string, context interface{}) (mailText *bytes.Buffer
type notificationBase struct{}
func (n *notificationBase) getRecipient() recipientData {
- return recipientData{field: "To", address: config.BoardMailAddress, name: "CAcert board mailing list"}
+ return recipientData{field: "To", address: config.NoticeMailAddress, name: "CAcert board mailing list"}
}
type decisionReplyBase struct {
@@ -228,7 +228,7 @@ func (n *RemindVoterNotification) GetNotificationContent() *notificationContent
type voteNotificationBase struct{}
func (n *voteNotificationBase) getRecipient() recipientData {
- return recipientData{"To", config.VoteNoticeAddress, "CAcert board votes mailing list"}
+ return recipientData{"To", config.VoteNoticeMailAddress, "CAcert board votes mailing list"}
}
type notificationProxyVote struct {