/// <summary> /// Modifies the roster item to look like the given roster item. /// This does not modify the model, /// but waits for roster pushes from the XMPP server. /// </summary> /// <param name="item">Roster item that will appear in the roster.</param> public void Modify(Item item) { RosterIQ iq = new RosterIQ(m_stream.Document); iq.Type = IQType.set; Roster r = iq.Instruction; r.AddChild(item); Write(iq); // ignore response }