368369370371372373374375376377378
if (proxy == null) { proxy = new DigestProxy(result); digests.put(id, proxy); // Switch to a live digest if the wave is open. WaveContext wave = waveStore.getOpenWaves().get(waveId); if (wave != null) { proxy.activate(wave); } }
169170171172173174175176177178179
if (isNewWave) { initNewWave(x); } else { handleExistingWave(x); } wave = new WaveContext( two.getWave(), two.getConversations(), two.getSupplement(), two.getReadMonitor()); waveStore.add(wave); install(); whenReady.use(x); }