From e096bfe29fdc7f514ec162885d79135cf6dfe03c Mon Sep 17 00:00:00 2001 From: eleksir Date: Sat, 24 Jun 2023 16:44:33 +0300 Subject: [PATCH] Do not send node attribute in query tag in DiscoInfo() --- xmpp_information_query.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }