diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e00d9e..5686cab 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ ### Fixed - Bug: infinite loop while skkiping words on input box ([#129], [#131]) +- Fix fail on contact sync for contacts without a UUID ([#152]) [#122]: https://github.com/boxdot/gurk-rs/pull/122 [#126]: https://github.com/boxdot/gurk-rs/pull/126 @@ -26,6 +27,7 @@ [#131]: https://github.com/boxdot/gurk-rs/pull/131 [#135]: https://github.com/boxdot/gurk-rs/pull/135 [#142]: https://github.com/boxdot/gurk-rs/pull/142 +[#152]: https://github.com/boxdot/gurk-rs/pull/152 ## 0.2.3 diff --git a/Cargo.lock b/Cargo.lock index f96a17d..85dda5e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1970,7 +1970,7 @@ checksum = "ac74c624d6b2d21f425f752262f42188365d7b8ff1aff74c82e45136510a4857" [[package]] name = "presage" version = "0.2.0" -source = "git+https://github.com/whisperfish/presage.git?rev=f09db39#f09db3926fd02f61f94cc6fc786d81ca52f9f245" +source = "git+https://github.com/whisperfish/presage.git?rev=8fcfb65#8fcfb6510c3a3ae4aeb9bafb535091d5b6ef1824" dependencies = [ "async-trait", "base64 0.12.3", diff --git a/Cargo.toml b/Cargo.toml index c871eb0..b3156d5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ debug = 0 lto = "thin" [dependencies] -presage = { git = "https://github.com/whisperfish/presage.git", rev = "f09db39" } +presage = { git = "https://github.com/whisperfish/presage.git", rev = "8fcfb65" } anyhow = "1.0.40" async-trait = "0.1.51" diff --git a/src/ui.rs b/src/ui.rs index 292cd1b..24b0915 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -589,7 +589,7 @@ fn add_attachments(msg: &app::Message, out: &mut String) { } } -fn add_reactions(msg: &app::Message, out: &mut String) { +fn add_reactions(msg: &app::Message, out: &mut dyn fmt::Write) { if !msg.reactions.is_empty() { fmt::write( out,