From 3f5e695e6d772f46ef3596f83c9d2c26ebcbab35 Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 9 Jul 2023 17:23:28 +0200 Subject: Pass roster result to limox struct This is needed to display the roster in the context of GUI. --- xmpp/iq.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'xmpp') 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 } } -- cgit v1.2.3-70-g09d2