mirror of https://github.com/djcb/mu.git
store: log whether a message is 'personal'
This commit is contained in:
parent
734445f78d
commit
ce1fea6302
|
@ -456,7 +456,8 @@ Store::add_message(Message& msg, bool use_transaction)
|
||||||
if (use_transaction) /* commit if batch is full */
|
if (use_transaction) /* commit if batch is full */
|
||||||
priv_->transaction_maybe_commit();
|
priv_->transaction_maybe_commit();
|
||||||
|
|
||||||
g_debug("added message @ %s; docid = %u", msg.path().c_str(), *res);
|
g_debug("added %smessage @ %s; docid = %u",
|
||||||
|
is_personal ? "personal " : "", msg.path().c_str(), *res);
|
||||||
|
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue