From 9d166e35ba6fc0daaf69318870e92436f3302056 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Tue, 19 Nov 2024 20:46:23 +0200 Subject: [PATCH] Add missing typing notices sending functionality while generating images --- src/controller/image/generation.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controller/image/generation.rs b/src/controller/image/generation.rs index cdbb9cb..823593b 100644 --- a/src/controller/image/generation.rs +++ b/src/controller/image/generation.rs @@ -34,6 +34,8 @@ pub async fn handle_image( return Ok(()); }; + let _typing_notice_guard = bot.start_typing_notice(message_context.room()).await; + let params = MatrixMessageProcessingParams::new( bot.user_id().to_owned(), Some(message_context.combined_admin_and_user_regexes()),