diff options
author | xengineering <me@xengineering.eu> | 2023-05-21 13:12:23 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-05-21 13:12:23 +0200 |
commit | 1d46cedcbb92edf69f080bf3dca07509a14159e2 (patch) | |
tree | 499fe796a6450f23e44fb82db1baf166fa1cf34d /limox.go | |
parent | 37753409dc55da1a1cc3feed139f287a2d6215bb (diff) | |
download | limox-1d46cedcbb92edf69f080bf3dca07509a14159e2.tar limox-1d46cedcbb92edf69f080bf3dca07509a14159e2.tar.zst limox-1d46cedcbb92edf69f080bf3dca07509a14159e2.zip |
Introduce xengineering.eu/xmpp.Conn
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") |