minor fixes
This commit is contained in:
parent
2d97e7d3e7
commit
05a27e0ad7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user