* ops from the document history, we will skip those that have already been
* applied.
*/
int revision = lastSentMsg != null ? lastSentMsg.getCcRevision() : revisionProvider.revision();
RecoverFromMissedDocOpsImpl recoveryDto =
RecoverFromMissedDocOpsImpl.make()
.setClientId(BootstrapSession.getBootstrapSession().getActiveClientId())
.setCurrentCcRevision(revision)
.setFileEditSessionKey(fileEditSessionKey);
if (lastSentMsg != null) {
recoveryDto.setDocOps2((JsoArray<String>) lastSentMsg.getDocOps2());
}
recoverFrontendApi.send(recoveryDto,
new ApiCallback<RecoverFromMissedDocOpsResponse>() {
@Override