public void OwnerModifySubscriptionStates(Jid to, Jid from, string node, Subscriber[] subscribers, IqCB cb, object cbArgs) { var pubsubIq = new owner.PubSubIq(IqType.set, to); if (from != null) { pubsubIq.From = from; } var subs = new Subscribers(node); subs.AddSubscribers(subscribers); pubsubIq.PubSub.Subscribers = subs; if (cb == null) { m_connection.Send(pubsubIq); } else { m_connection.IqGrabber.SendIq(pubsubIq, cb, cbArgs); } }