From 5d62378683a516f9e12b0190b46dae475b83e0f5 Mon Sep 17 00:00:00 2001 From: xengineering Date: Thu, 11 May 2023 21:04:04 +0200 Subject: Do not share memory between limox and xmpp --- limox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'limox.go') 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") -- cgit v1.2.3-70-g09d2