diff --git a/xmpp_information_query.go b/xmpp_information_query.go index 2ea7406..de02f47 100644 --- a/xmpp_information_query.go +++ b/xmpp_information_query.go @@ -23,8 +23,8 @@ func (c *Client) DiscoverNodeInfo(node string) (string, error) { } // Discover information about given item from given jid. -func (c *Client) DiscoverInfo(from string, to string, node string) (string, error) { - query := fmt.Sprintf("", XMPPNS_DISCO_INFO, node) +func (c *Client) DiscoverInfo(from string, to string) (string, error) { + query := fmt.Sprintf("", XMPPNS_DISCO_INFO) return c.RawInformation(from, to, "info3", IQTypeGet, query) }