summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-06-27 15:55:20 +0200
committerxengineering <me@xengineering.eu>2023-06-27 15:55:20 +0200
commit8ae8609656959763f19c1974753f5172b7603cd0 (patch)
tree86b2c1bb8d9187ef86e09add14615d8fc6ce7964
parent8965adcdbc5ccf30afdccac31cc3a6f9d7451b91 (diff)
downloadlimox-8ae8609656959763f19c1974753f5172b7603cd0.tar
limox-8ae8609656959763f19c1974753f5172b7603cd0.tar.zst
limox-8ae8609656959763f19c1974753f5172b7603cd0.zip
xmpp: Add name to return value of StartSession
This explains implicitly why the value is returned.
-rw-r--r--xmpp/session.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmpp/session.go b/xmpp/session.go
index 9959c80..1bd9bd5 100644
--- a/xmpp/session.go
+++ b/xmpp/session.go
@@ -20,7 +20,7 @@ type session struct {
streamEnd xml.EndElement
}
-func StartSession(out chan any, jid string, pwd string) chan any {
+func StartSession(out chan any, jid string, pwd string) (in chan any) {
s := session{}
s.jid = jid