It does, but if you use the build in synchronization, your notes will by synchronized as (optionally encrypted) files. I think using syncthing would be possible if you make Joplin synchronize to a local directory, and use syncthing to sync that directory.