mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
Fix clippy warnings (#3726)
This commit is contained in:
@@ -2439,7 +2439,7 @@ pub async fn get_chat_media(
|
||||
AND hidden=0
|
||||
ORDER BY timestamp, id;",
|
||||
paramsv![
|
||||
if chat_id.is_none() { 1i32 } else { 0i32 },
|
||||
chat_id.is_none(),
|
||||
chat_id.unwrap_or_else(|| ChatId::new(0)),
|
||||
msg_type,
|
||||
if msg_type2 != Viewtype::Unknown {
|
||||
|
||||
Reference in New Issue
Block a user