From 205e2d4e99d9e690e7100857899ac60258b4fc16 Mon Sep 17 00:00:00 2001 From: jikstra Date: Sun, 4 Aug 2019 16:43:59 +0200 Subject: [PATCH] Fix rustdoc --- src/dc_tools.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/dc_tools.rs b/src/dc_tools.rs index f84d36d33..57da76fef 100644 --- a/src/dc_tools.rs +++ b/src/dc_tools.rs @@ -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; }