@dxos/echo-pipeline 0.3.10-main.ee543cf → 0.3.10-next.3e4f36f

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -205,15 +205,6 @@ class MeshNetworkAdapter extends NetworkAdapter {
205
205
  },
206
206
  {
207
207
  onStartReplication: async (info) => {
208
- // Note: We store only one extension per peer.
209
- // There can be a case where two connected peers have more than one teleport connection between them
210
- // and each of them uses different teleport connections to send messages.
211
- // It works because we receive messages from all teleport connections and Automerge Repo dedup them.
212
- // TODO(mykola): Use only one teleport connection per peer.
213
- if (this._extensions.has(info.id)) {
214
- return;
215
- }
216
-
217
208
  peerInfo = info;
218
209
  // TODO(mykola): Fix race condition?
219
210
  this._extensions.set(info.id, extension);
@@ -223,7 +214,6 @@ class MeshNetworkAdapter extends NetworkAdapter {
223
214
  },
224
215
  onSyncMessage: async ({ payload }) => {
225
216
  const message = cbor.decode(payload) as Message;
226
- // Note: automerge Repo dedup messages.
227
217
  this.emit('message', message);
228
218
  },
229
219
  onClose: async () => {