Browse Source

Gofmt'ing so that tests pass

pull/1938/head
Jordan Wright 1 year ago
parent
commit
27d13a0584
1 changed files with 6 additions and 5 deletions
  1. +6
    -5
      imap/monitor.go

+ 6
- 5
imap/monitor.go View File

@ -118,12 +118,13 @@ func (im *Monitor) Shutdown() error {
func checkForNewEmails(im models.IMAP) {
im.Host = im.Host + ":" + strconv.Itoa(int(im.Port)) // Append port
mailServer := Mailbox{
Host: im.Host,
TLS: im.TLS,
Host: im.Host,
TLS: im.TLS,
IgnoreCertErrors: im.IgnoreCertErrors,
User: im.Username,
Pwd: im.Password,
Folder: im.Folder}
User: im.Username,
Pwd: im.Password,
Folder: im.Folder,
}
msgs, err := mailServer.GetUnread(true, false)
if err != nil {

Loading…
Cancel
Save