use of org.jivesoftware.smackx.xdata.Form in project Smack by igniterealtime.
the class ServiceAdministrationManager method deleteUser.
public void deleteUser(Set<EntityBareJid> jidsToDelete) throws NoResponseException, XMPPErrorException, NotConnectedException, InterruptedException {
RemoteCommand command = deleteUser();
command.execute();
Form answerForm = command.getForm().createAnswerForm();
FormField accountJids = answerForm.getField("accountjids");
accountJids.addValues(JidUtil.toStringList(jidsToDelete));
command.next(answerForm);
assert (command.isCompleted());
}
Aggregations