File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,12 @@ struct ChatNumbers {
3636 unencrypted_mua : u32 ,
3737}
3838
39+ /// Sends a message with statistics about the usage of Delta Chat,
40+ /// if the last time such a message was sent
41+ /// was more than a week ago.
42+ ///
43+ /// On the other end, a bot will receive the message and make it available
44+ /// to Delta Chat's developers.
3945pub async fn maybe_send_self_report ( context : & Context ) -> Result < ( ) > {
4046 //#[cfg(target_os = "android")] TODO
4147 if context. get_config_bool ( Config :: SelfReporting ) . await ? {
@@ -54,11 +60,6 @@ pub async fn maybe_send_self_report(context: &Context) -> Result<()> {
5460 Ok ( ( ) )
5561}
5662
57- /// Drafts a message with statistics about the usage of Delta Chat.
58- /// The user can inspect the message if they want, and then hit "Send".
59- ///
60- /// On the other end, a bot will receive the message and make it available
61- /// to Delta Chat's developers.
6263async fn send_self_report ( context : & Context ) -> Result < ChatId > {
6364 info ! ( context, "Sending self report." ) ;
6465 // Setting `Config::LastHousekeeping` at the beginning avoids endless loops when things do not
You can’t perform that action at this time.
0 commit comments