Save when not is_online

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
xmppftw 2024-08-07 11:53:43 +02:00 committed by Maxime “pep” Buquet
parent 6285c0b1a4
commit 94ac2d8818
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -64,6 +64,7 @@ impl XmppClient {
} }
} }
Event::Disconnected => { Event::Disconnected => {
self.is_online = false;
debug!("XMPP Disconnected"); debug!("XMPP Disconnected");
} }
_ => { _ => {