vars.setUserEmail(participantId.getAddress());
vars.setHaveOauthToken(userContext.hasOAuthCredentials());
vars.setConvSnapshot(wave.getConvSnapshotWithDiffs());
vars.setConvConnectResponse(
sessionHelper.createConnectResponse(
new ObjectSession(wave.getConvObjectId(), clientId, convStore.getRootEntityKind()),
wave.getConvConnectResult()));
if (wave.getUdw() != null) {
UdwLoadDataGsonImpl udwLoadData = new UdwLoadDataGsonImpl();
udwLoadData.setConnectResponse(
sessionHelper.createConnectResponse(
new ObjectSession(wave.getUdw().getObjectId(), clientId,
udwStore.getRootEntityKind()),
wave.getUdw().getConnectResult()));
udwLoadData.setSnapshot(wave.getUdw().getSnapshot());
vars.setUdw(udwLoadData);
}