From a15a028383ea21c4c06d164db07b2cbb81a440b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Tue, 28 Dec 2021 21:56:20 +0100 Subject: [PATCH] xmpp: hello_bot: add catchall for Event MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Masks HTTPUploadedFile which is useless here as we don't call the upload method. Signed-off-by: Maxime “pep” Buquet --- xmpp/examples/hello_bot.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/xmpp/examples/hello_bot.rs b/xmpp/examples/hello_bot.rs index e3b8155d..500f7636 100644 --- a/xmpp/examples/hello_bot.rs +++ b/xmpp/examples/hello_bot.rs @@ -87,6 +87,7 @@ async fn main() -> Result<(), Option<()>> { Event::AvatarRetrieved(jid, path) => { println!("Received avatar for {} in {}.", jid, path); } + _ => (), } } }