* @param jid The contact's JID.
* @throws rocks.xmpp.core.stanza.model.StanzaException If the entity returned a stanza error.
* @throws rocks.xmpp.core.session.NoResponseException If the entity did not respond.
*/
public void removeContact(Jid jid) throws XmppException {
Roster roster = new Roster();
Contact contact = new Contact(jid);
contact.setSubscription(Contact.Subscription.REMOVE);
roster.getContacts().add(contact);
xmppSession.query(new IQ(IQ.Type.SET, roster));
}