mirror of
https://github.com/FluuxIO/go-xmpp.git
synced 2025-11-18 07:33:44 -08:00
Fix missing default channel creation
This commit is contained in:
committed by
Mickaël Rémond
parent
83ae778d33
commit
909cf753c9
@@ -109,7 +109,7 @@ func NewClient(config Config) (c *Client, err error) {
|
||||
c.config.ConnectTimeout = 15 // 15 second as default
|
||||
}
|
||||
|
||||
// Create a default channel that developer can override
|
||||
// Create a default channel that developers can override
|
||||
c.RecvChannel = make(chan interface{})
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user