summaryrefslogtreecommitdiff
path: root/limox.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-05-11 21:04:04 +0200
committerxengineering <me@xengineering.eu>2023-05-11 21:07:32 +0200
commit5d62378683a516f9e12b0190b46dae475b83e0f5 (patch)
tree1691fb33c8086d34d0678b83cf6e7f40ef2b7775 /limox.go
parent1c054d8f976f3f2330aaa31bf72c4584be7e35a4 (diff)
downloadlimox-5d62378683a516f9e12b0190b46dae475b83e0f5.tar
limox-5d62378683a516f9e12b0190b46dae475b83e0f5.tar.zst
limox-5d62378683a516f9e12b0190b46dae475b83e0f5.zip
Do not share memory between limox and xmpp
Diffstat (limited to 'limox.go')
-rw-r--r--limox.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/limox.go b/limox.go
index 9b7c235..98652cb 100644
--- a/limox.go
+++ b/limox.go
@@ -86,7 +86,7 @@ func (l *Limox) buttonCallback() {
switch l.State {
case Disconnected:
log.Println("Starting connection establishment ...")
- go l.xmpp(l.JidEditor.Text(), l.PwdEditor.Text())
+ go xmpp(l.GuiEvents, l.XmppEvents, l.JidEditor.Text(), l.PwdEditor.Text())
l.State = Connecting
case Connecting:
log.Println("Aborted connection establishment")