From 1fda2c4506b09ed71f30c30c22e325fe97f9f458 Mon Sep 17 00:00:00 2001 From: "nedim.uka" Date: Wed, 15 Sep 2021 12:43:16 +0200 Subject: [PATCH] Code cleanup --- services/xmppsService.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/services/xmppsService.go b/services/xmppsService.go index 0db6a7b..49732e6 100644 --- a/services/xmppsService.go +++ b/services/xmppsService.go @@ -36,19 +36,6 @@ func Init() { // TODO load configs and init clients from the config file xmppService = XMPPService{ Router: xmpp.NewRouter(), - // Configs: []xmpp.Config{ - // { - // TransportConfiguration: xmpp.TransportConfiguration{ - // Address: appConfig.AppConfig.Service.Address + ":" + appConfig.AppConfig.Service.Port, - // Domain: appConfig.AppConfig.Service.Domain, - // TLSConfig: &tls.Config{InsecureSkipVerify: true}, - // }, - // Jid: "admin@localhost", - // Credential: xmpp.Password("openadmin123"), - // StreamLogger: os.Stdout, - // Insecure: true, - // }, - // }, } xmppService.Router.HandleFunc("message", handleMessage)