From 35a9c27783524a035ab6545061f5ecd5fdee6ea7 Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 27 Jun 2023 16:05:58 +0200 Subject: xmpp: StartSession(): Switch to directed chan This reduces the risk of using those channels wrong. --- limox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'limox.go') diff --git a/limox.go b/limox.go index 234ca48..87e20de 100644 --- a/limox.go +++ b/limox.go @@ -26,7 +26,7 @@ type Limox struct { JidEditor widget.Editor PwdEditor widget.Editor MainButton widget.Clickable - sessionIn chan any + sessionIn chan<- any sessionOut chan any State LimoxState Window *app.Window -- cgit v1.2.3-70-g09d2