summaryrefslogtreecommitdiff
path: root/limox.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-06-27 16:05:58 +0200
committerxengineering <me@xengineering.eu>2023-06-27 16:05:58 +0200
commit35a9c27783524a035ab6545061f5ecd5fdee6ea7 (patch)
treea6d932f7fbb0c26adf88971b419f23032a7805af /limox.go
parent8ae8609656959763f19c1974753f5172b7603cd0 (diff)
downloadlimox-35a9c27783524a035ab6545061f5ecd5fdee6ea7.tar
limox-35a9c27783524a035ab6545061f5ecd5fdee6ea7.tar.zst
limox-35a9c27783524a035ab6545061f5ecd5fdee6ea7.zip
xmpp: StartSession(): Switch to directed chan
This reduces the risk of using those channels wrong.
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 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