public void DiscoverItems(Jid to, Jid from, string node, IqCB cb, object cbArgs) { DiscoItemsIq discoIq = new DiscoItemsIq(IqType.get); discoIq.To = to; if (from != null) { discoIq.From = from; } if (node != null && node.Length > 0) { discoIq.Query.Node = node; } xmppConnection.IqGrabber.SendIq(discoIq, cb, cbArgs); }
public void DiscoverItems(Jid to, Jid from, string node, IqCB cb, object cbArgs) { DiscoItemsIq discoIq = new DiscoItemsIq(IqType.get); discoIq.To = to; if (from != null) discoIq.From = from; if (node != null && node.Length > 0) discoIq.Query.Node = node; xmppConnection.IqGrabber.SendIq(discoIq, cb, cbArgs); }