diff options
author | xengineering <me@xengineering.eu> | 2023-04-18 20:57:32 +0200 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-05-03 21:21:36 +0200 |
commit | 7029ebc4b2a1394f3fe2150f12624b30ef7d6d2b (patch) | |
tree | f1fbb5f8b4775845e48a39d17d4723a0c0fdab67 /limox.go | |
parent | 3f5b78f173d500b84aac0032d5c5e47873a17843 (diff) | |
download | limox-7029ebc4b2a1394f3fe2150f12624b30ef7d6d2b.tar limox-7029ebc4b2a1394f3fe2150f12624b30ef7d6d2b.tar.zst limox-7029ebc4b2a1394f3fe2150f12624b30ef7d6d2b.zip |
Implement XML encoding
The <stream> element is the first to encode and is added with this
commit.
Diffstat (limited to 'limox.go')
-rw-r--r-- | limox.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -85,14 +85,14 @@ func (l *Limox) run() error { func (l *Limox) buttonCallback() { switch l.State { case Disconnected: - log.Println("Starting connection establishment") + log.Println("Starting connection establishment ...") go l.xmpp(l.JidEditor.Text(), l.PwdEditor.Text()) l.State = Connecting case Connecting: log.Println("Aborted connection establishment") l.State = Disconnected case Connected: - log.Println("Disconnected") + log.Println("Disconnecting ...") l.GuiEvents <- Disconnect l.State = Disconnected } |