fix: Sort multiple saved messages by timestamp (#6862)

This commit is contained in:
iequidoo
2025-06-05 06:04:21 -03:00
committed by iequidoo
parent 026ddbf9f1
commit ce04e904e2
3 changed files with 50 additions and 6 deletions

View File

@@ -298,7 +298,7 @@ impl Context {
async fn save_message(&self, src_rfc724_mid: &str, dest_rfc724_mid: &String) -> Result<()> {
if let Some((src_msg_id, _)) = message::rfc724_mid_exists(self, src_rfc724_mid).await? {
chat::save_copy_in_self_talk(self, &src_msg_id, dest_rfc724_mid).await?;
chat::save_copy_in_self_talk(self, src_msg_id, dest_rfc724_mid).await?;
}
Ok(())
}