thrownewIllegalStateException("Client acknowledges stanzas that we didn't send! Client Ack h: "+h+", our last stanza: "+unacknowledgedServerStanzas.getLast().x);
}
clientProcessedStanzas=h;
clientProcessedStanzas.set(h);
// Remove stanzas from temporary storage as now acknowledged