mirror of
https://github.com/chatmail/core.git
synced 2026-04-18 22:16:30 +03:00
Fix rustdoc
This commit is contained in:
committed by
Floris Bruynooghe
parent
5b368960c0
commit
205e2d4e99
@@ -803,8 +803,10 @@ pub unsafe fn dc_create_outgoing_rfc724_mid(
|
||||
ret
|
||||
}
|
||||
|
||||
|
||||
/// Extract our group ID from Message-IDs as `Gr.12345678901.morerandom@domain.de`
|
||||
/// `12345678901` is the wanted ID in this example.
|
||||
pub fn dc_extract_grpid_from_rfc724_mid(mid: &str) -> Option<&str> {
|
||||
/* extract our group ID from Message-IDs as `Gr.12345678901.morerandom@domain.de`; "12345678901" is the wanted ID in this example. */
|
||||
if mid.len() < 9 || !mid.starts_with("Gr.") {
|
||||
return None;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user