From 8c4a966451bd0321d7a0568fd9074f5e298c1e75 Mon Sep 17 00:00:00 2001 From: Joscha Date: Sat, 8 Apr 2023 20:09:18 +0200 Subject: [PATCH] Update euphoxide --- CHANGELOG.md | 3 +++ Cargo.lock | 2 +- Cargo.toml | 2 +- src/euph/room.rs | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b7c343..51e2088 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,9 @@ Procedure when bumping the version number: ### Changed - Improved JSON export performance +### Fixed +- Rooms reconnecting instead of showing error popups + ## v0.6.0 - 2023-04-04 ### Added diff --git a/Cargo.lock b/Cargo.lock index 70a95c3..f2a43b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -380,7 +380,7 @@ dependencies = [ [[package]] name = "euphoxide" version = "0.3.1" -source = "git+https://github.com/Garmelon/euphoxide.git?rev=768a259f02f5743f7812904657a99f1f58b8e835#768a259f02f5743f7812904657a99f1f58b8e835" +source = "git+https://github.com/Garmelon/euphoxide.git?rev=0f217a6279181b0731216760219e8ff0fa01e449#0f217a6279181b0731216760219e8ff0fa01e449" dependencies = [ "async-trait", "caseless", diff --git a/Cargo.toml b/Cargo.toml index 8721800..ec32221 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ features = ["rustls-tls-native-roots"] [dependencies.euphoxide] git = "https://github.com/Garmelon/euphoxide.git" -rev = "768a259f02f5743f7812904657a99f1f58b8e835" +rev = "0f217a6279181b0731216760219e8ff0fa01e449" features = ["bot"] # [patch."https://github.com/Garmelon/euphoxide.git"] diff --git a/src/euph/room.rs b/src/euph/room.rs index e38c2ed..bc5221a 100644 --- a/src/euph/room.rs +++ b/src/euph/room.rs @@ -316,7 +316,7 @@ impl Room { } pub fn logout(&self) -> Result<(), Error> { - self.conn_tx()?.send_only(Logout); + self.conn_tx()?.send_only(Logout {}); Ok(()) } }