forked from janek/mostr
1
0
Fork 0

fix(tasks): comment persistence

This commit is contained in:
xeruf 2024-08-01 19:18:46 +03:00
parent 486cbb1ab4
commit 14dcc8f0ff
1 changed files with 2 additions and 1 deletions

View File

@ -508,7 +508,8 @@ impl Tasks {
match self.position {
None => warn!("Cannot add note '{}' without active task", note),
Some(id) => {
self.submit(EventBuilder::text_note(note, vec![]));
let prop = self.build_prop(Kind::TextNote, note, id);
self.submit(prop);
}
}
}