minor fixes
This commit is contained in:
parent
2d97e7d3e7
commit
05a27e0ad7
@ -1,7 +1,6 @@
|
|||||||
package matrixbotlib
|
package matrixbotlib
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"maunium.net/go/mautrix"
|
"maunium.net/go/mautrix"
|
||||||
@ -10,7 +9,6 @@ import (
|
|||||||
|
|
||||||
//NewMatrixClient returns a new logged in Mautrix Client struct
|
//NewMatrixClient returns a new logged in Mautrix Client struct
|
||||||
func NewMatrixClient(config *MatrixClientConfig, store mautrix.Storer) (*mautrix.Client, error) {
|
func NewMatrixClient(config *MatrixClientConfig, store mautrix.Storer) (*mautrix.Client, error) {
|
||||||
fmt.Println("Logging into", config.Homeserver, "as", config.Username)
|
|
||||||
var client *mautrix.Client
|
var client *mautrix.Client
|
||||||
var err error
|
var err error
|
||||||
//make sure username is lower case otherwise token login breaks
|
//make sure username is lower case otherwise token login breaks
|
||||||
|
Loading…
Reference in New Issue
Block a user