From f0d660315f781521e2cd17c309803e272579192b Mon Sep 17 00:00:00 2001 From: pep Date: Fri, 24 Oct 2025 01:49:39 +0200 Subject: [PATCH] xmpp/example: .await event handling in hello_bot skip-changelog. Signed-off-by: pep --- xmpp/examples/hello_bot.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmpp/examples/hello_bot.rs b/xmpp/examples/hello_bot.rs index 3f67be08ec21d423de5b9d91f2c473fd8511a055..eaaf16e9a429bf3154c9ea287bd0cdf38af4cfab 100644 --- a/xmpp/examples/hello_bot.rs +++ b/xmpp/examples/hello_bot.rs @@ -79,7 +79,7 @@ async fn main() -> Result<(), Option<()>> { tokio::select! { events = client.wait_for_events() => { for event in events { - let _ = handle_events(&mut client, event, &rooms); + let _ = handle_events(&mut client, event, &rooms).await; } }, _ = ctrl_c() => {