Compare commits
No commits in common. "a5f02631e8616ef7f834136573d41562a597d001" and "e71cde3735ea4e250904ba919380011ec3befafb" have entirely different histories.
a5f02631e8
...
e71cde3735
@ -157,7 +157,7 @@ async fn handle_callback(bot: Bot, mut db: DB, bm: BotMessage, q: CallbackQuery)
|
|||||||
);
|
);
|
||||||
match handler.call_args(vec![jsuser]) {
|
match handler.call_args(vec![jsuser]) {
|
||||||
Ok(v) => {
|
Ok(v) => {
|
||||||
println!("Ok branch, value: {v:?}");
|
println!("OK branch, value: {v:?}");
|
||||||
if v.is_bool() {
|
if v.is_bool() {
|
||||||
v.to_bool().unwrap_or(true)
|
v.to_bool().unwrap_or(true)
|
||||||
} else if v.is_int() {
|
} else if v.is_int() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user