summaryrefslogtreecommitdiff
path: root/src/session.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/session.cc')
-rw-r--r--src/session.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/session.cc b/src/session.cc
index ff23719b..e171ff4d 100644
--- a/src/session.cc
+++ b/src/session.cc
@@ -87,9 +87,14 @@ std::size_t session_t::read_journal(std::istream& in,
{
if (! master)
master = journal->master;
+
std::size_t count = journal->parse(in, *this, master, &pathname,
HANDLED(strict));
- clean_accounts(); // remove calculated totals
+
+ // remove calculated totals and flags
+ clean_posts();
+ clean_accounts();
+
return count;
}