From 7029ebc4b2a1394f3fe2150f12624b30ef7d6d2b Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 18 Apr 2023 20:57:32 +0200 Subject: Implement XML encoding The element is the first to encode and is added with this commit. --- limox.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'limox.go') diff --git a/limox.go b/limox.go index 3ca21b3..9b7c235 100644 --- a/limox.go +++ b/limox.go @@ -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 } -- cgit v1.2.3-70-g09d2