IIRC Joplin stores notes in a SQLite DB which is a huge no-no to sync with syncthing. Even the syncthing devs warn against syncing SQLite databases. It will seem to work fine until two machines write to the database independently (perhaps each is offline) and then their changes can't be reconciled by syncthing and data is lost or conflicted.