automerge / automerge-classic

A JSON-like data structure (a CRDT) that can be modified concurrently by different users, and merged again automatically.
http://automerge.org/
MIT License
14.75k stars 466 forks source link

theirHeads should be empty array rather than null #385

Closed okdistribute closed 3 years ago

okdistribute commented 3 years ago

Ran into this bug while restarting from a persisted state without saving the sync state locally between syncronizations.

okdistribute commented 3 years ago

Realized this was caught two days ago by martin! 🤓 https://github.com/automerge/automerge/commit/77bd0e85f7f47cde85d55c52a2c40a3e16d12509