summaryrefslogtreecommitdiff
path: root/limox.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-04-18 20:57:32 +0200
committerxengineering <me@xengineering.eu>2023-05-03 21:21:36 +0200
commit7029ebc4b2a1394f3fe2150f12624b30ef7d6d2b (patch)
treef1fbb5f8b4775845e48a39d17d4723a0c0fdab67 /limox.go
parent3f5b78f173d500b84aac0032d5c5e47873a17843 (diff)
downloadlimox-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.go4
1 files changed, 2 insertions, 2 deletions
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
}