summaryrefslogtreecommitdiff
path: root/xmpp
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-07-09 17:23:28 +0200
committerxengineering <me@xengineering.eu>2023-07-09 17:23:28 +0200
commit3f5e695e6d772f46ef3596f83c9d2c26ebcbab35 (patch)
tree13c0c6f4fb5f491f516157d35a1bf9ffccd45fb2 /xmpp
parent4152d6e7bfe3d0fd7d099d36311c4a57f4858964 (diff)
downloadlimox-3f5e695e6d772f46ef3596f83c9d2c26ebcbab35.tar
limox-3f5e695e6d772f46ef3596f83c9d2c26ebcbab35.tar.zst
limox-3f5e695e6d772f46ef3596f83c9d2c26ebcbab35.zip
Pass roster result to limox struct
This is needed to display the roster in the context of GUI.
Diffstat (limited to 'xmpp')
-rw-r--r--xmpp/iq.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/xmpp/iq.go b/xmpp/iq.go
index 1cb7fd5..8683a21 100644
--- a/xmpp/iq.go
+++ b/xmpp/iq.go
@@ -32,10 +32,7 @@ func (i iqRx) handle(s *session) {
}
if len(i.Query) > 0 {
- log.Println("Got roster:")
- for _, v := range i.Query {
- log.Printf("- %s\n", v.Jid)
- }
+ s.out <- i.Query
}
}