{"draft":null,"from":175,"to":318,"files":[{"path":"client/src/drafts.ts","added":6,"removed":2,"diff":"--- a/client/src/drafts.ts\n+++ b/client/src/drafts.ts\n@@ -19,6 +19,8 @@\n \ttype Output,\n \topen,\n \tplural,\n+\tpullAnswer,\n+\tpullWritten,\n \trecordedFirst,\n \trecordFolder,\n } from \"./commands.ts\";\n@@ -57,9 +59,10 @@\n \tnote(answer.files);\n \tconst switched = await applyAnswer(root, api, answer);\n \t// The switch brings back the space as it was when parked; sync straight away so the folder shows it as it is now (#22).\n-\tconst syncAnswer = await api.sync();\n+\tconst syncAnswer = await pullAnswer(root, api);\n \tnote(syncAnswer.files);\n \tconst synced = await applyAnswer(root, api, syncAnswer);\n+\tpullWritten(root);\n \tconst touched = new Set([...switched.written, ...switched.deleted, ...synced.written, ...synced.deleted]);\n \tconst written: string[] = [];\n \tconst deleted: string[] = [];\n@@ -148,7 +151,8 @@\n \tconst moved = await api.draftSync();\n \t// Bring the moved draft's new view into this folder straight away.\n \tconst recorded = await recordFolder(root, api);\n-\tconst applied = await applyAnswer(root, api, await api.sync());\n+\tconst applied = await applyAnswer(root, api, await pullAnswer(root, api));\n+\tpullWritten(root);\n \tconst lines = [\n \t\t`Moved draft ${moved.draft} onto shared version ${moved.sharedBase} (the draft is at version ${moved.version}).`,\n \t\t...recordedFirst(recorded),"}],"unmatched":[]}