mirror of
https://github.com/chatmail/core.git
synced 2026-05-18 22:36:29 +03:00
Remove some AsRef<str> (#3354)
Using &str instead of AsRef is better for compile times, binary size and code complexity.
This commit is contained in:
@@ -307,7 +307,7 @@ pub(crate) async fn start_ephemeral_timers_msgids(
|
||||
let count = context
|
||||
.sql
|
||||
.execute(
|
||||
format!(
|
||||
&format!(
|
||||
"UPDATE msgs SET ephemeral_timestamp = ? + ephemeral_timer
|
||||
WHERE (ephemeral_timestamp == 0 OR ephemeral_timestamp > ? + ephemeral_timer) AND ephemeral_timer > 0
|
||||
AND id IN ({})",
|
||||
|
||||
Reference in New Issue
Block a user