Compare commits
No commits in common. "f5d108d350f0d83028fe36806968af9869a3aae2" and "689d191d539bfa5c5966a2c601ba8d269f93e59c" have entirely different histories.
f5d108d350
...
689d191d53
@ -24,7 +24,6 @@ const dialog = {
|
||||
},
|
||||
start: start_msg,
|
||||
leave_application: {
|
||||
literal: "left_application_msg",
|
||||
handler: leave_application
|
||||
},
|
||||
ask_question: {}
|
||||
|
||||
@ -75,11 +75,6 @@ async fn handle_botmessage(bot: Bot, mut db: DB, bm: BotMessage, msg: Message) -
|
||||
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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user