mirror of
https://github.com/chatmail/core.git
synced 2026-05-03 05:16:28 +03:00
fmt
This commit is contained in:
@@ -3684,7 +3684,6 @@ mod tests {
|
|||||||
use crate::receive_imf::receive_imf;
|
use crate::receive_imf::receive_imf;
|
||||||
use crate::test_utils::{TestContext, TestContextManager};
|
use crate::test_utils::{TestContext, TestContextManager};
|
||||||
|
|
||||||
|
|
||||||
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
|
#[tokio::test(flavor = "multi_thread", worker_threads = 2)]
|
||||||
async fn test_chat_info() {
|
async fn test_chat_info() {
|
||||||
let t = TestContext::new().await;
|
let t = TestContext::new().await;
|
||||||
|
|||||||
@@ -724,7 +724,7 @@ impl MimeMessage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Returns whether the email contains a `chat-version` header.
|
/// Returns whether the email contains a `chat-version` header.
|
||||||
/// This indicates that email is a DC-email from a chat.
|
/// This indicates that the email is a DC-email from a chat.
|
||||||
pub(crate) fn has_chat_version(&self) -> bool {
|
pub(crate) fn has_chat_version(&self) -> bool {
|
||||||
self.header.contains_key("chat-version")
|
self.header.contains_key("chat-version")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user