mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2025-04-04 22:19:02 -07:00
Merge 9f06690c49
into 7186c058fd
This commit is contained in:
commit
2326f88f89
@ -124,7 +124,7 @@ func main() {
|
|||||||
router := xmpp.NewRouter()
|
router := xmpp.NewRouter()
|
||||||
router.HandleFunc("message", handleMessage)
|
router.HandleFunc("message", handleMessage)
|
||||||
|
|
||||||
client, err := xmpp.NewClient(config, router, errorHandler)
|
client, err := xmpp.NewClient(&config, router, errorHandler)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("%+v", err)
|
log.Fatalf("%+v", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user