diff options
| author | 2025-04-26 15:34:10 +0200 | |
|---|---|---|
| committer | 2025-04-26 15:38:43 +0200 | |
| commit | ab10266bff8d3dea1655e5f98a932efa2474bdb6 (patch) | |
| tree | def81628d7a7c81b8ad0c971fb02ebc945eca75c /internal/email | |
| parent | [chore] Set up Github to be a mirror (diff) | |
| download | gotosocial-ab10266bff8d3dea1655e5f98a932efa2474bdb6.tar.xz | |
[feature] Move to code.superseriousbusiness.org
Diffstat (limited to 'internal/email')
| -rw-r--r-- | internal/email/common.go | 6 | ||||
| -rw-r--r-- | internal/email/email_test.go | 6 | ||||
| -rw-r--r-- | internal/email/noopsender.go | 4 | ||||
| -rw-r--r-- | internal/email/sender.go | 2 |
4 files changed, 9 insertions, 9 deletions
diff --git a/internal/email/common.go b/internal/email/common.go index 68e3b429b..1d8a585ce 100644 --- a/internal/email/common.go +++ b/internal/email/common.go @@ -28,10 +28,10 @@ import ( "text/template" "time" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/gtserror" + "code.superseriousbusiness.org/gotosocial/internal/util" "github.com/google/uuid" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/gtserror" - "github.com/superseriousbusiness/gotosocial/internal/util" ) func (s *sender) sendTemplate(template string, subject string, data any, toAddresses ...string) error { diff --git a/internal/email/email_test.go b/internal/email/email_test.go index ce1ae177f..9087f7d09 100644 --- a/internal/email/email_test.go +++ b/internal/email/email_test.go @@ -21,10 +21,10 @@ import ( "regexp" "testing" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/email" + "code.superseriousbusiness.org/gotosocial/testrig" "github.com/stretchr/testify/suite" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/email" - "github.com/superseriousbusiness/gotosocial/testrig" ) type EmailTestSuite struct { diff --git a/internal/email/noopsender.go b/internal/email/noopsender.go index bd9b1206e..2702b3a8b 100644 --- a/internal/email/noopsender.go +++ b/internal/email/noopsender.go @@ -21,8 +21,8 @@ import ( "bytes" "text/template" - "github.com/superseriousbusiness/gotosocial/internal/config" - "github.com/superseriousbusiness/gotosocial/internal/log" + "code.superseriousbusiness.org/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/log" ) // NewNoopSender returns a no-op email sender that will just execute the given sendCallback diff --git a/internal/email/sender.go b/internal/email/sender.go index 2bcc6086f..2c7c79256 100644 --- a/internal/email/sender.go +++ b/internal/email/sender.go @@ -22,7 +22,7 @@ import ( "net/smtp" "text/template" - "github.com/superseriousbusiness/gotosocial/internal/config" + "code.superseriousbusiness.org/gotosocial/internal/config" ) // Sender contains functions for sending emails to instance users/new signups. |
