Use StreamClient interface in StreamManager

This commit is contained in:
Mickael Remond
2019-06-08 18:52:19 +02:00
committed by Mickaël Rémond
parent 021f6d3740
commit 736a60cd1b
5 changed files with 40 additions and 31 deletions

View File

@@ -143,7 +143,7 @@ func (c *Client) Connect() error {
}
c.updateState(StateConnected)
// Connection is ok, we now open XMPP session
// Client is ok, we now open XMPP session
if c.conn, c.Session, err = NewSession(c.conn, c.config); err != nil {
return err
}