diff --git a/xmpp.go b/xmpp.go index 3ca0a4e..172953b 100644 --- a/xmpp.go +++ b/xmpp.go @@ -959,6 +959,9 @@ func (c *Client) Recv() (stanza interface{}, err error) { } return DiscoResult{ + ID: v.ID, + From: v.From, + To: v.To, Features: clientFeaturesToReturn(disco.Features), Identities: clientIdentitiesToReturn(disco.Identities), }, nil diff --git a/xmpp_disco.go b/xmpp_disco.go index 0bca664..4af0426 100644 --- a/xmpp_disco.go +++ b/xmpp_disco.go @@ -52,6 +52,9 @@ type DiscoItem struct { } type DiscoResult struct { + ID string + From string + To string Features []string Identities []DiscoIdentity }