private static DigestSnapshot deserializeDigest(Digest digest) {
List<ParticipantId> participantIds = CollectionUtils.newArrayList();
for (String participant : digest.getParticipants()) {
participantIds.add(ParticipantId.ofUnsafe(participant));
}
DigestSnapshot digestSnapshot =
new DigestSnapshot(digest.getTitle(), digest.getSnippet(), WaveId.deserialise(digest
.getWaveId()), ParticipantId.ofUnsafe(digest.getAuthor()), participantIds,
digest.getLastModified(), digest.getUnreadCount(), digest.getBlipCount());
return digestSnapshot;
}