mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
make clippy happy
This commit is contained in:
@@ -59,7 +59,7 @@ pub(crate) async fn get_chat_list_item_by_id(
|
|||||||
entry: &ChatListEntry,
|
entry: &ChatListEntry,
|
||||||
) -> Result<ChatListItemFetchResult> {
|
) -> Result<ChatListItemFetchResult> {
|
||||||
let chat_id = ChatId::new(entry.0);
|
let chat_id = ChatId::new(entry.0);
|
||||||
let last_msgid = entry.1.map(|msg_id| MsgId::new(msg_id));
|
let last_msgid = entry.1.map(MsgId::new);
|
||||||
|
|
||||||
let fresh_message_counter = chat_id.get_fresh_msg_cnt(ctx).await?;
|
let fresh_message_counter = chat_id.get_fresh_msg_cnt(ctx).await?;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user