minor fixes

This commit is contained in:
stryan 2022-07-17 17:39:34 -04:00
parent 2d97e7d3e7
commit 05a27e0ad7

View File

@ -1,7 +1,6 @@
package matrixbotlib
import (
"fmt"
"strings"
"maunium.net/go/mautrix"
@ -10,7 +9,6 @@ import (
//NewMatrixClient returns a new logged in Mautrix Client struct
func NewMatrixClient(config *MatrixClientConfig, store mautrix.Storer) (*mautrix.Client, error) {
fmt.Println("Logging into", config.Homeserver, "as", config.Username)
var client *mautrix.Client
var err error
//make sure username is lower case otherwise token login breaks