Compare commits

..

No commits in common. "62b68a64511a415299b778debf7488223706c2b2" and "9be1f3ec1d49c698222107a27ab877345763fe90" have entirely different histories.

View File

@ -141,7 +141,6 @@ async fn handle_callback(bot: Bot, mut db: DB, bm: BotMessage, q: CallbackQuery)
let user = update_user_tg(user, &tguser);
user.update_user(&mut db).await?;
info!("Is handler set: {}", bm.get_handler().is_some());
let is_propagate: bool = match bm.get_handler() {
Some(handler) => 'prop: {
let ctx = match handler.context() {
@ -150,11 +149,6 @@ async fn handle_callback(bot: Bot, mut db: DB, bm: BotMessage, q: CallbackQuery)
None => break 'prop true,
};
let jsuser = to_js(ctx, &tguser).unwrap();
info!(
"Calling handler {:?} with msg literal: {:?}",
handler,
bm.literal()
);
match handler.call_args(vec![jsuser]) {
Ok(v) => {
if v.is_bool() {