mirror of
https://github.com/chatmail/core.git
synced 2026-05-04 22:06:29 +03:00
build: increase MSRV to 1.88.0
It is required by rPGP 0.18.0. All the changes in `.rs` files are made automatically with `clippy --fix`.
This commit is contained in:
@@ -122,12 +122,11 @@ pub(crate) async fn intercept_get_updates(
|
||||
if location.independent != 0 {
|
||||
if let Some(marker) = &location.marker {
|
||||
label = marker.to_string() // marker contains one-char labels only
|
||||
} else if location.msg_id != 0 {
|
||||
if let Some(msg) =
|
||||
} else if location.msg_id != 0
|
||||
&& let Some(msg) =
|
||||
Message::load_from_db_optional(context, MsgId::new(location.msg_id)).await?
|
||||
{
|
||||
label = msg.get_text()
|
||||
}
|
||||
{
|
||||
label = msg.get_text()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user