adopt to review

change formatting options to separate struct and clean up
This commit is contained in:
Cubicroot 2021-05-02 15:37:54 +02:00
parent fe1cbdf79e
commit 2ff9f5972a
6 changed files with 22 additions and 20 deletions

View file

@ -47,7 +47,7 @@ func main() {
log.Fatal(err)
}
dp, err := dispatcher.Create(db, c.Matrix.Homeserver, c.Matrix.Username, c.Matrix.Password, c.Message)
dp, err := dispatcher.Create(db, c.Matrix.Homeserver, c.Matrix.Username, c.Matrix.Password, c.Formatting)
if err != nil {
log.Fatal(err)
}