Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
72 changes: 37 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -223,12 +223,12 @@ qrcode = { version = "0.14", optional = true }

# WhatsApp Web client (wa-rs) — optional, enable with --features whatsapp-web
# Uses wa-rs for Bot and Client, wa-rs-core for storage traits, custom rusqlite backend avoids Diesel conflict.
wa-rs = { version = "0.5", optional = true, default-features = false, features = ["tokio-runtime"] }
wa-rs-core = { version = "0.5", optional = true, default-features = false }
wa-rs-binary = { version = "0.5", optional = true, default-features = false }
wa-rs-proto = { version = "0.5", optional = true, default-features = false }
wa-rs-ureq-http = { version = "0.5", optional = true }
wa-rs-tokio-transport = { version = "0.5", optional = true, default-features = false }
wa-rs = { version = "0.6", optional = true, default-features = false, features = ["tokio-runtime"] }
wa-rs-core = { version = "0.6", optional = true, default-features = false }
wa-rs-binary = { version = "0.6", optional = true, default-features = false }
wa-rs-proto = { version = "0.6", optional = true, default-features = false }
wa-rs-ureq-http = { version = "0.6", optional = true }
wa-rs-tokio-transport = { version = "0.6", optional = true, default-features = false }
# `bytes::Bytes` is the new return type for several wa-rs-core 0.5 storage trait
# methods (`get_session`, `load_prekey`); we re-export it through the optional
# whatsapp-web feature so RusqliteStore can satisfy the trait signatures.
Expand Down Expand Up @@ -359,13 +359,13 @@ harness = false
# Tracks: docs/plans/2026-05-06-001-wa-rs-rebrand-plan.md
# Refs: zeroclaw-labs/zeroclaw#6246, Micra-io/zeroclaw#50
[patch.crates-io]
wa-rs = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "46322bdccd2f91751215a6bbe93c7331b19e84ec" }
wa-rs-core = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "46322bdccd2f91751215a6bbe93c7331b19e84ec" }
wa-rs-binary = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "46322bdccd2f91751215a6bbe93c7331b19e84ec" }
wa-rs-derive = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "46322bdccd2f91751215a6bbe93c7331b19e84ec" }
wa-rs-libsignal = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "46322bdccd2f91751215a6bbe93c7331b19e84ec" }
wa-rs-noise = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "46322bdccd2f91751215a6bbe93c7331b19e84ec" }
wa-rs-appstate = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "46322bdccd2f91751215a6bbe93c7331b19e84ec" }
wa-rs-proto = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "46322bdccd2f91751215a6bbe93c7331b19e84ec" }
wa-rs-tokio-transport = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "46322bdccd2f91751215a6bbe93c7331b19e84ec" }
wa-rs-ureq-http = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "46322bdccd2f91751215a6bbe93c7331b19e84ec" }
wa-rs = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "8b6d64f8b7e65d5ab1336bbe8fb2fbeaa7610f23" }
wa-rs-core = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "8b6d64f8b7e65d5ab1336bbe8fb2fbeaa7610f23" }
wa-rs-binary = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "8b6d64f8b7e65d5ab1336bbe8fb2fbeaa7610f23" }
wa-rs-derive = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "8b6d64f8b7e65d5ab1336bbe8fb2fbeaa7610f23" }
wa-rs-libsignal = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "8b6d64f8b7e65d5ab1336bbe8fb2fbeaa7610f23" }
wa-rs-noise = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "8b6d64f8b7e65d5ab1336bbe8fb2fbeaa7610f23" }
wa-rs-appstate = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "8b6d64f8b7e65d5ab1336bbe8fb2fbeaa7610f23" }
wa-rs-proto = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "8b6d64f8b7e65d5ab1336bbe8fb2fbeaa7610f23" }
wa-rs-tokio-transport = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "8b6d64f8b7e65d5ab1336bbe8fb2fbeaa7610f23" }
wa-rs-ureq-http = { git = "https://github.com/Micra-io/whatsapp-rust.git", rev = "8b6d64f8b7e65d5ab1336bbe8fb2fbeaa7610f23" }
4 changes: 2 additions & 2 deletions src/channels/whatsapp_web.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1516,7 +1516,7 @@ impl Channel for WhatsAppWebChannel {
let bot_phone = bot_phone_inner.lock();
if let Some(ref bp) = *bot_phone {
let mentioned_jids =
Self::extract_mentioned_jids(&msg);
Self::extract_mentioned_jids(msg);
if Self::contains_bot_mention(
&content,
&mentioned_jids,
Expand Down Expand Up @@ -1669,7 +1669,7 @@ impl Channel for WhatsAppWebChannel {
tracing::info!(
"WhatsApp Web QR code received (scan with WhatsApp > Linked Devices)"
);
match Self::render_pairing_qr(&code) {
match Self::render_pairing_qr(code) {
Ok(rendered) => {
eprintln!();
eprintln!(
Expand Down
Loading