mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 13:56:30 +03:00
feat: improve IMAP loop logs
Only inbox loop is changed because non-inbox loop is going to be removed together with `mvbox_move`. Added transport IDs to the log and logging around quota updates. Removed some logs that add noise, like logging that IDLE is supported each time right before using it.
This commit is contained in:
@@ -136,6 +136,7 @@ impl PushSubscriber {
|
||||
return Ok(());
|
||||
};
|
||||
|
||||
info!(context, "Subscribing for heartbeat notifications.");
|
||||
if http::post_string(
|
||||
context,
|
||||
"https://notifications.delta.chat/register",
|
||||
@@ -143,6 +144,7 @@ impl PushSubscriber {
|
||||
)
|
||||
.await?
|
||||
{
|
||||
info!(context, "Subscribed for heartbeat notifications.");
|
||||
state.heartbeat_subscribed = true;
|
||||
}
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user