Skip to content

Commit

Permalink
remove unused tls
Browse files Browse the repository at this point in the history
  • Loading branch information
ydkn committed May 15, 2019
1 parent 727ae66 commit de76b36
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions output/xmpp.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
package output

import (
"crypto/tls"
"errors"

"github.com/mattn/go-xmpp"
Expand All @@ -27,11 +26,6 @@ func XMPP(recipient *recipient.Recipient, event *ExtendedEvent, config *Config)
return errors.New("password is empty")
}

xmpp.DefaultConfig = tls.Config{
//ServerName: config.XMPPServer,
//InsecureSkipVerify: false,
}

clientOptions := xmpp.Options{
Host: config.XMPPServer,
User: config.XMPPUsername,
Expand Down

0 comments on commit de76b36

Please sign in to comment.