Replication is a fundamental idea in collaborative editing systems Sub-problem 1: Source of Truth Offline-mode support is unachievable if we don’t keep a local copy of the data that the client can operate on while offline. The basic idea is that we let the server maintain the source of truth for the conversation thread and…