Skip to content

Commit

Permalink
Add missing typing notices sending functionality while generating images
Browse files Browse the repository at this point in the history
  • Loading branch information
spantaleev committed Nov 19, 2024
1 parent 4a59664 commit 9d166e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controller/image/generation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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()),
Expand Down

0 comments on commit 9d166e3

Please sign in to comment.