diff options
Diffstat (limited to 'limox.go')
-rw-r--r-- | limox.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -86,7 +86,8 @@ func (l *Limox) buttonCallback() { pwd := l.PwdEditor.Text() setLastJid(jid) setLastPwd(pwd) - go xmpp.Run(l.XmppConn, jid, pwd) + c := xmpp.NewConn(l.XmppConn, jid, pwd) + go c.Run() l.State = Connecting case Connecting: log.Println("Aborted connection establishment") |