Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Conversation

@mrnugget
Copy link
Contributor

This fixes #54984 by setting a default value for email.senderName and documenting the setting.

I also changed the docs to have valid syntax and changed from domain.com to example.com, which is the preferred way to refer to example emails.

Test plan

  • Manual testing
  • New unit test
This fixes #54984 by setting a default value for `email.senderName` and documenting the setting. I also changed the docs to have valid syntax and changed from `domain.com` to `example.com`, which is the preferred way to refer to example emails.
@mrnugget mrnugget requested a review from a team July 20, 2023 09:13
@cla-bot cla-bot bot added the cla-signed label Jul 20, 2023
@sourcegraph-bot
Copy link
Contributor

sourcegraph-bot commented Jul 20, 2023

Codenotify: Notifying subscribers in CODENOTIFY files for diff 0633c1d...166a896.

Notify File(s)
@sourcegraph/delivery doc/admin/config/email.md
Copy link
Contributor

@sashaostrikov sashaostrikov left a comment

Choose a reason for hiding this comment

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

LGTM! Added a question about lulz

@mrnugget mrnugget enabled auto-merge (squash) July 20, 2023 09:23
@mrnugget mrnugget merged commit 49cfe5c into main Jul 20, 2023
@mrnugget mrnugget deleted the mrn/fix-email-sender-name branch July 20, 2023 12:02

// EmailSenderName returns `email.senderName`. If that's not set, it returns
// the default value "Sourcegraph".
func EmailSenderName() string {
Copy link
Member

Choose a reason for hiding this comment

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

What am I missing 🤔 where is this function called?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

omg, you're right.

mrnugget added a commit that referenced this pull request Jul 21, 2023
This is a follow-up to #55139 and _actually_ uses the new value I added.
mrnugget added a commit that referenced this pull request Jul 21, 2023
This is a follow-up to #55139 and _actually_ uses the new value I added. ## Test plan - N/A
MaedahBatool pushed a commit that referenced this pull request Jul 28, 2023
This is a follow-up to #55139 and _actually_ uses the new value I added. ## Test plan - N/A
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

5 participants