()
| 263 | let newCount = 0 |
| 264 | |
| 265 | const closeAndSeed = () => { |
| 266 | drafts.push(current) |
| 267 | const seed = config.overlapMessages > 0 ? current.slice(-config.overlapMessages) : [] |
| 268 | current = [...seed] |
| 269 | newCount = 0 |
| 270 | } |
| 271 | |
| 272 | for (const m of parent) { |
| 273 | current.push(m) |