Duplicating files
Issue After hosting from computer1 with some files, connecting to multihack-server from computer2, which doesn't have any files, computer1 will receive the files (it already has) again duplicating everything within them. So if it has one line, after syncing it will have the same line again below the first.
Steps to reproduce
- start a multihack-server
- create files on computer1 and join a room
- open an empty folder on computer2
- connect to the same room as computer1 from computer2
Expected result The files sync successfully onto computer2 but not onto computer1 since it is the one providing them. computer1 should not experience any changes to it's files after syncing.
This is another example of merge conflicts when there are different versions being synced.
That does seem different from what normally happens though, I think this is related to your other issue.
Some events were leaking through as changes. Fixed next version.
Fixed in 4.2.0