diff --git a/config_example.toml b/config_example.toml index a6a7ab1..b8d1d22 100644 --- a/config_example.toml +++ b/config_example.toml @@ -2,8 +2,8 @@ log_level = 50 webserver_bind = ":8080" [xmpp] -host = "fireorbit.de" -username = "bot@fireorbit.de" +address = "fireorbit.de" +jid = "bot@fireorbit.de" password = "example" startup_notify_user = ["user@fireorbit.de"] startup_notify_muc = [] diff --git a/main.go b/main.go index b633b23..5385e37 100644 --- a/main.go +++ b/main.go @@ -34,6 +34,7 @@ func main() { router := xmpp.NewRouter() client, err := xmpp.NewClient(xmpp.Config{ + Address: config.XMPP.Address, Jid: config.XMPP.JID, Password: config.XMPP.Password, }, router)