summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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