From 94ac2d881880281692690230c7cb8cb5ca93dc70 Mon Sep 17 00:00:00 2001 From: xmppftw Date: Wed, 7 Aug 2024 11:53:43 +0200 Subject: [PATCH] Save when not is_online MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- src/bot.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bot.rs b/src/bot.rs index 5d903dc..2e86961 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -64,6 +64,7 @@ impl XmppClient { } } Event::Disconnected => { + self.is_online = false; debug!("XMPP Disconnected"); } _ => {